Skip to content

Commit

Permalink
invoke danger options when checking adc ignore limits (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwnance authored May 15, 2024
1 parent 9de3f85 commit 6debf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/mcu.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ def _handle_shutdown(self, params):
if (
msg.startswith("ADC out of range")
or msg.startswith("Thermocouple reader fault")
) and not get_danger_options.adc_ignore_limits:
) and not get_danger_options().adc_ignore_limits:
pheaters = self._printer.lookup_object("heaters")
heaters = [
pheaters.lookup_heater(n) for n in pheaters.available_heaters
Expand Down

0 comments on commit 6debf89

Please sign in to comment.