Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions klippy/extras/temperature_mcu.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ def handle_mcu_identify(self):
def _build_config(self):
# Obtain mcu information
mcu = self.mcu_adc.get_mcu()
self.debug_read_cmd = mcu.lookup_query_command(
"debug_read order=%c addr=%u", "debug_result val=%u")
try:
self.debug_read_cmd = mcu.lookup_query_command(
"debug_read order=%c addr=%u", "debug_result val=%u")
except Exception:
if not getattr(mcu, 'is_non_critical', False):
raise
return
self.mcu_type = mcu.get_constants().get("MCU", "")
# Run MCU specific configuration
cfg_funcs = [
Expand Down
Loading