X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=firmware%2Fbuttons.c;h=f611c2725babe845a763911153215bb1baa91aa6;hb=1de63cfb74286580b4a50f75a9b9e91a30816a83;hp=20d28a58915658b84dcfa723d66511743a9cfd46;hpb=67fee443a9e9465923ad7e7704eb9000cba49cdd;p=bike-lights.git 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; }