Skip to content

Commit

Permalink
Latest Release RM0301-1601-0.98.4-37584b5 on PATREON - UPD BLE SPAM
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueMaster committed Mar 2, 2024
1 parent 546a7d0 commit 9017f4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions applications/external/ble_spam/ble_spam.c
Expand Up @@ -478,8 +478,7 @@ static bool input_callback(InputEvent* input, void* _ctx) {

if(state->ctx.lock_keyboard) {
consumed = true;
with_view_model(
state->main_view, State * *model, { (*model)->lock_warning = true; }, true);
state->lock_warning = true;
if(state->lock_count == 0) {
furi_timer_start(state->lock_timer, 1000);
}
Expand All @@ -505,7 +504,9 @@ static bool input_callback(InputEvent* input, void* _ctx) {
if(advertising) toggle_adv(state);
state->ctx.attack = &attacks[state->index];
scene_manager_set_scene_state(state->ctx.scene_manager, SceneConfig, 0);
view_commit_model(view, consumed);
scene_manager_next_scene(state->ctx.scene_manager, SceneConfig);
return consumed;
} else if(input->type == InputTypeShort) {
toggle_adv(state);
}
Expand Down

0 comments on commit 9017f4e

Please sign in to comment.