mirror of
https://github.com/google/pebble.git
synced 2025-04-30 23:31:40 -04:00
spelling: enter
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
16883e83c6
commit
732a680ad8
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ void enter_stop_mode(void) {
|
||||||
do_wfi(); // Wait for Interrupt (enter sleep mode). Work around F2/F4 errata.
|
do_wfi(); // Wait for Interrupt (enter sleep mode). Work around F2/F4 errata.
|
||||||
__ISB(); // Let the pipeline catch up (force the WFI to activate before moving on).
|
__ISB(); // Let the pipeline catch up (force the WFI to activate before moving on).
|
||||||
|
|
||||||
// Tell the processor not to emter deepsleep mode for future WFIs.
|
// Tell the processor not to enter deepsleep mode for future WFIs.
|
||||||
SCB->SCR &= ~SCB_SCR_SLEEPDEEP_Msk;
|
SCB->SCR &= ~SCB_SCR_SLEEPDEEP_Msk;
|
||||||
|
|
||||||
// Stop mode will change our system clock to the HSI. Move it back to the PLL.
|
// Stop mode will change our system clock to the HSI. Move it back to the PLL.
|
||||||
|
|
Loading…
Add table
Reference in a new issue