Commit 3c51816d authored by Michael Nelson's avatar Michael Nelson

Allow holding for temporary signalling

parent 9ad6ce95
......@@ -300,9 +300,9 @@ void loop()
if (fg_mode != last_fg_mode || bg_mode != last_bg_mode)
reset_all();
if (fg_mode == FG_MODE_BLINK_L)
if (fg_mode == FG_MODE_BLINK_L || hold_time[btn_grip_left] > MINIMUM_PRESS_TIME)
blink_frame(true, false);
else if (fg_mode == FG_MODE_BLINK_R)
else if (fg_mode == FG_MODE_BLINK_R || hold_time[btn_grip_right] > MINIMUM_PRESS_TIME)
blink_frame(false, true);
else if (bg_mode == BG_MODE_HAZARDS)
blink_frame(true, true, 3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment