1 parent f4c1141 commit 9b00cf6Copy full SHA for 9b00cf6
1 file changed
klippy/extras/temperature_mcu.py
@@ -65,8 +65,13 @@ def handle_mcu_identify(self):
65
def _build_config(self):
66
# Obtain mcu information
67
mcu = self.mcu_adc.get_mcu()
68
- self.debug_read_cmd = mcu.lookup_query_command(
69
- "debug_read order=%c addr=%u", "debug_result val=%u")
+ try:
+ self.debug_read_cmd = mcu.lookup_query_command(
70
+ "debug_read order=%c addr=%u", "debug_result val=%u")
71
+ except Exception:
72
+ if not getattr(mcu, 'is_non_critical', False):
73
+ raise
74
+ return
75
self.mcu_type = mcu.get_constants().get("MCU", "")
76
# Run MCU specific configuration
77
cfg_funcs = [
0 commit comments