We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d0029c commit 9d7f49bCopy full SHA for 9d7f49b
src/Arduino_LowPowerPortentaH7.cpp
@@ -233,7 +233,7 @@ bool LowPowerPortentaH7::wasInCPUMode(CPUMode mode) const
233
234
void LowPowerPortentaH7::resetPreviousCPUModeFlags() const
235
{
236
- PWR->CPUCR |= PWR_CPUCR_CSSF; // Clear standby flags
+ PWR->CPUCR |= PWR_CPUCR_CSSF;
237
}
238
239
uint16_t LowPowerPortentaH7::numberOfDeepSleepLocks() const
@@ -312,7 +312,7 @@ LowPowerReturnCode LowPowerPortentaH7::standbyM4() const
312
// <--
313
314
// Disable and clear all pending interrupts in the NVIC. There are 8
315
- // registers in the Cortex-M7.
+ // registers in the Cortex-M4.
316
for (auto i = 0; i < 8; i++)
317
318
NVIC->ICER[i] = 0xffffffff;
0 commit comments