summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index c2f9ca0bca..1492c80bc4 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -1245,7 +1245,8 @@ void powermgmt_init(void)
1245 /* init history to 0 */ 1245 /* init history to 0 */
1246 memset(power_history, 0x00, sizeof(power_history)); 1246 memset(power_history, 0x00, sizeof(power_history));
1247 create_thread(power_thread, power_stack, sizeof(power_stack), 1247 create_thread(power_thread, power_stack, sizeof(power_stack),
1248 power_thread_name IF_PRIO(, PRIORITY_SYSTEM)); 1248 power_thread_name IF_PRIO(, PRIORITY_SYSTEM)
1249 IF_COP(, CPU, false));
1249} 1250}
1250 1251
1251#endif /* SIMULATOR */ 1252#endif /* SIMULATOR */