🐛 Prevent AVR watchdogpile (#23075)

This commit is contained in:
Skruppy authored and Scott Lahteine committed 2021-12-25 00:46:49 -06:00
1 parent fd136d5501
commit 9fffed7160
4 files changed
+31 -4

No files matched your search

+5
View File
@@ -2489,6 +2489,11 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#error "An encoder button is required or SOFT_RESET_ON_KILL will reset the printer without notice!"
#endif
// Reset reason for AVR
#if ENABLED(OPTIBOOT_RESET_REASON) && !defined(__AVR__)
#error "OPTIBOOT_RESET_REASON only applies to AVR."
#endif
/**
* I2C bus
*/