global: re-enable sleep in sleep_ms

This commit is contained in:
King Kévin 2018-04-04 17:13:02 +02:00
parent 61cc2491a6
commit 2a7fe9ae93
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ void sleep_ms(uint32_t duration)
sleep_duration = duration; // save sleep duration for count down
systick_counter_enable(); // start counting
while (sleep_duration>0) { // wait for count down to complete
// __WFI(); // go to sleep
__WFI(); // go to sleep
}
}