X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=firmware%2Fbuttons.c;h=f611c2725babe845a763911153215bb1baa91aa6;hp=20d28a58915658b84dcfa723d66511743a9cfd46;hb=a366ae18debc6e73c4946aa6290ed37c49bb1fc0;hpb=29b27abe6adedf08f1067a76c8785cd8fe5d3296 diff --git a/firmware/buttons.c b/firmware/buttons.c index 20d28a5..f611c27 100644 --- a/firmware/buttons.c +++ b/firmware/buttons.c @@ -111,7 +111,7 @@ static inline void short_press(unsigned char button) static inline void long_press(unsigned char button) { if (button == 0) { - power_down(); + power_down(0); return; }