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 e0fcfbd commit 10471ddCopy full SHA for 10471dd
src/ArduinoLowPower.cpp
@@ -14,6 +14,7 @@ void ArduinoLowPowerClass::idle(uint32_t millis) {
14
}
15
16
void ArduinoLowPowerClass::sleep() {
17
+ USBDevice.standby();
18
SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;
19
__DSB();
20
__WFI();
0 commit comments