We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e00bf6 commit 7a5a98fCopy full SHA for 7a5a98f
hal/architecture/AVR/MyHwAVR.cpp
@@ -101,7 +101,7 @@ void hwPowerDown(const uint8_t wdto)
101
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
102
cli();
103
sleep_enable();
104
-#if defined(__AVR_ATmega328P__)
+#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328PB__)
105
sleep_bod_disable();
106
#endif
107
// Enable interrupts & sleep until WDT or ext. interrupt
0 commit comments