Fix missing HOLD on shutterbutton (#22108)

#21986
This commit is contained in:
stefanbode 2024-09-08 16:50:37 +02:00 committed by GitHub
parent 4717d1986c
commit 744e50acf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ bool ShutterButtonHandlerMulti(void)
Button.last_state[button_index], Button.press_counter[button_index], Button.window_timer[button_index], Shutter[shutter_index].button_simu_pressed);
// multipress event handle back to main procedure
if (Button.press_counter[button_index]>3) return false;
if (Button.press_counter[button_index]>4) return false;
if (!Shutter[shutter_index].button_simu_pressed) {
uint8_t pos_press_index = Button.press_counter[button_index]-1;