diff --git a/projects/00std_us_ranging/00std_us_ranging.c b/projects/00std_us_ranging/00std_us_ranging.c index 09653dd2b..90992ae9f 100644 --- a/projects/00std_us_ranging/00std_us_ranging.c +++ b/projects/00std_us_ranging/00std_us_ranging.c @@ -20,10 +20,13 @@ * @brief The program starts executing here. */ int main(void) { - + while (1) { + __WFE(); + __SEV(); + __WFE(); } // one last instruction, doesn't do anything, it's just to have a place to put a breakpoint. __NOP(); -} \ No newline at end of file +}