Skip to content

Commit 9fd1535

Browse files
committed
LowPower comment mapping clarifications
Fixes #18
1 parent 556d822 commit 9fd1535

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/STM32LowPower.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,10 @@ void STM32LowPower::shutdown(uint32_t millis)
125125
*/
126126
void STM32LowPower::attachInterruptWakeup(uint32_t pin, voidFuncPtrVoid callback, uint32_t mode, LP_Mode LowPowerMode)
127127
{
128-
// All GPIO for idle (smt32 sleep) and sleep (stm32 stop)
129128
attachInterrupt(pin, callback, mode);
130129

131130
if (LowPowerMode == SHUTDOWN_MODE) {
132-
// If Gpio is a Wake up pin activate it for deepSleep (standby stm32) and shutdown
131+
// If Gpio is a Wake up pin activate it for shutdown (standby or shutdown stm32)
133132
LowPower_EnableWakeUpPin(pin, mode);
134133
}
135134
}

0 commit comments

Comments
 (0)