X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=blobdiff_plain;f=projects%2Fstep-up%2Fcontrol.c;h=bdfe53d002c00aa89533faf35188479bd760f976;hp=f6272622ef64f1ced964dfb883465daeed85e210;hb=e6421ff2a4cecb87d997afff76dddc3eb1ba936a;hpb=ffb4982594d98b8d8ecd9efcfe37c17e0f2fc53b diff --git a/projects/step-up/control.c b/projects/step-up/control.c index f627262..bdfe53d 100644 --- a/projects/step-up/control.c +++ b/projects/step-up/control.c @@ -20,7 +20,7 @@ static pattern_t blink_pattern[] = { static pattern_t slow_pattern[] = { { 1, 0x1 }, - { 0, 0x1F }, + { 0, 0x18 }, PATTERN_END }; @@ -77,8 +77,7 @@ void short_press() void long_press() { - e.shutdown_in_progress = 0; - pattern_reload(); + power_down(); } pattern_t *pwmled_pattern_select()