We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade6722 commit c6897c5Copy full SHA for c6897c5
rtos/rtos_idle.c
@@ -21,14 +21,15 @@
21
*/
22
23
#include "rtos/rtos_idle.h"
24
+#include "sleep_api.h"
25
26
static void default_idle_hook(void)
27
{
28
/* Sleep: ideally, we should put the chip to sleep.
- Unfortunately, this usually requires disconnecting the interface chip (debugger).
29
- This can be done, but it would break the local file system.
+ Unfortunately, this usually requires disconnecting the interface chip (debugger).
30
+ This can be done, but it would break the local file system.
31
- // sleep();
32
+ sleep();
33
}
34
static void (*idle_hook_fptr)(void) = &default_idle_hook;
35
0 commit comments