File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,8 @@ void ShutterButtonHandler(void)
548
548
Button.press_counter [button_index] = 99 ; // Remember to discard further action for press & hold within button timings
549
549
} else {
550
550
Button.press_counter [button_index] = (Button.window_timer [button_index]) ? Button.press_counter [button_index] +1 : 1 ;
551
- Button.window_timer [button_index] = loops_per_second / 2 ; // 0.5 second multi press window
551
+ // Button.window_timer[button_index] = (Button.press_counter[button_index]==1) ? loops_per_second / 2 : loops_per_second; // 0.5 second multi press window after 1st press, 1s afterwards
552
+ Button.window_timer [button_index] = (loops_per_second >> 2 ) * 3 ; // 0.75 second multi press window
552
553
}
553
554
}
554
555
blinks = 201 ;
You can’t perform that action at this time.
0 commit comments