Skip to content

Commit

Permalink
added sleep mode in main
Browse files Browse the repository at this point in the history
  • Loading branch information
thegabriele97 committed Dec 21, 2021
1 parent 6f5cce6 commit 851d816
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ int main(void) {

update_interface();

while (1) {
HAL_Delay(100);
while (1) {
__WFI();
}

}

void SystemClock_Config(void) {
Expand Down

0 comments on commit 851d816

Please sign in to comment.