mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Dont repeat delay cycling --nobuild
This commit is contained in:
2
applications/external/ble_spam/ble_spam.c
vendored
2
applications/external/ble_spam/ble_spam.c
vendored
@@ -549,7 +549,7 @@ static bool input_callback(InputEvent* input, void* _ctx) {
|
||||
if(advertising) toggle_adv(state);
|
||||
state->index++;
|
||||
}
|
||||
} else {
|
||||
} else if(input->type == InputTypeLong) {
|
||||
state->delay = (state->delay + 1) % COUNT_OF(delays);
|
||||
if(advertising) start_blink(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user