X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=main.c;h=57ffa14c097e2fcfd4af0df4241b795326450165;hb=17c3ca665220350644eded751e14820324c4ba86;hp=60b0030f31bb943474edac34a2fea9f426845010;hpb=569867e93d1689d327a4fbf496e41d90cb0a4e1c;p=bike-lights.git diff --git a/main.c b/main.c index 60b0030..57ffa14 100644 --- a/main.c +++ b/main.c @@ -23,10 +23,12 @@ int main(void) log_set_state(3); + set_sleep_mode(SLEEP_MODE_IDLE); + sei(); #if 1 while (1) - ; // sleep_mode(); + sleep_mode(); #endif #if 0