]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/buttons.c
Disable WDT as early as possible
[bike-lights.git] / firmware / buttons.c
index 20d28a58915658b84dcfa723d66511743a9cfd46..f611c2725babe845a763911153215bb1baa91aa6 100644 (file)
@@ -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;
        }