Fix part 1

This commit is contained in:
MX 2022-11-02 23:07:00 +03:00
parent e1f5999095
commit c8bc9e26e0
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5
14 changed files with 45 additions and 15 deletions

View file

@ -216,6 +216,8 @@ int32_t clock_app(void* p) {
// Exit the plugin // Exit the plugin
processing = false; processing = false;
break; break;
default:
break;
} }
} }
} /*else if(event.type == EventTypeTick) { } /*else if(event.type == EventTypeTick) {

View file

@ -1044,6 +1044,8 @@ int32_t unirfremix_app(void* p) {
unirfremix_tx_stop(app); unirfremix_tx_stop(app);
exit_loop = true; exit_loop = true;
break; break;
default:
break;
} }
if(app->processing == 0) { if(app->processing == 0) {
@ -1115,6 +1117,8 @@ int32_t unirfremix_app(void* p) {
case InputKeyBack: case InputKeyBack:
exit_loop = true; exit_loop = true;
break; break;
default:
break;
} }
if(exit_loop == true) { if(exit_loop == true) {

View file

@ -442,6 +442,8 @@ int32_t quenon_dht_mon_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} }
} }

View file

@ -134,6 +134,8 @@ void flipfrid_scene_entrypoint_on_event(FlipFridEvent event, FlipFridState* cont
case InputKeyBack: case InputKeyBack:
context->is_running = false; context->is_running = false;
break; break;
default:
break;
} }
} }
} }

View file

@ -71,6 +71,8 @@ void flipfrid_scene_load_custom_uids_on_event(FlipFridEvent event, FlipFridState
case InputKeyBack: case InputKeyBack:
context->current_scene = SceneEntryPoint; context->current_scene = SceneEntryPoint;
break; break;
default:
break;
} }
} }
} }

View file

@ -158,6 +158,8 @@ void flipfrid_scene_load_file_on_event(FlipFridEvent event, FlipFridState* conte
case InputKeyBack: case InputKeyBack:
context->current_scene = SceneEntryPoint; context->current_scene = SceneEntryPoint;
break; break;
default:
break;
} }
} }
} }

View file

@ -546,6 +546,8 @@ void flipfrid_scene_run_attack_on_event(FlipFridEvent event, FlipFridState* cont
notification_message(context->notify, &sequence_blink_stop); notification_message(context->notify, &sequence_blink_stop);
context->current_scene = SceneEntryPoint; context->current_scene = SceneEntryPoint;
break; break;
default:
break;
} }
} }
} }

View file

@ -129,6 +129,8 @@ void flipfrid_scene_select_field_on_event(FlipFridEvent event, FlipFridState* co
furi_string_reset(context->notification_msg); furi_string_reset(context->notification_msg);
context->current_scene = SceneSelectFile; context->current_scene = SceneSelectFile;
break; break;
default:
break;
} }
FURI_LOG_D(TAG, "Position: %d/%d", context->key_index, nb_bytes); FURI_LOG_D(TAG, "Position: %d/%d", context->key_index, nb_bytes);
} }

View file

@ -230,6 +230,8 @@ int32_t hc_sr04_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} }
} }

View file

@ -318,6 +318,8 @@ int32_t metronome_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} else if(event.input.type == InputTypeLong) { } else if(event.input.type == InputTypeLong) {
// hold events // hold events
@ -338,6 +340,8 @@ int32_t metronome_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} else if(event.input.type == InputTypeRepeat) { } else if(event.input.type == InputTypeRepeat) {
// repeat events // repeat events
@ -357,6 +361,8 @@ int32_t metronome_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} }
} }

View file

@ -496,6 +496,8 @@ int32_t spectrum_analyzer_app(void* p) {
case InputKeyBack: case InputKeyBack:
exit_loop = true; exit_loop = true;
break; break;
default:
break;
} }
furi_mutex_release(spectrum_analyzer->model_mutex); furi_mutex_release(spectrum_analyzer->model_mutex);

View file

@ -437,6 +437,8 @@ int32_t tetris_game_app() {
case InputKeyBack: case InputKeyBack:
processing = false; processing = false;
break; break;
default:
break;
} }
} }
} else if(event.type == EventTypeTick) { } else if(event.type == EventTypeTick) {

View file

@ -5,7 +5,7 @@ env.Append(
"#/lib/drivers", "#/lib/drivers",
], ],
SDK_HEADERS=[ SDK_HEADERS=[
File("drivers/nrf24.h"), File("nrf24.h"),
], ],
) )

View file

@ -5,20 +5,20 @@ env.Append(
"#/lib/subghz", "#/lib/subghz",
], ],
SDK_HEADERS=[ SDK_HEADERS=[
File("subghz/environment.h"), File("environment.h"),
File("subghz/receiver.h"), File("receiver.h"),
File("subghz/subghz_worker.h"), File("subghz_worker.h"),
File("subghz/subghz_tx_rx_worker.h"), File("subghz_tx_rx_worker.h"),
File("subghz/transmitter.h"), File("transmitter.h"),
File("subghz/registry.h"), File("registry.h"),
File("subghz/protocols/protocol_items.h"), File("protocols/protocol_items.h"),
File("subghz/protocols/raw.h"), File("protocols/raw.h"),
File("subghz/blocks/const.h"), File("blocks/const.h"),
File("subghz/blocks/decoder.h"), File("blocks/decoder.h"),
File("subghz/blocks/encoder.h"), File("blocks/encoder.h"),
File("subghz/blocks/generic.h"), File("blocks/generic.h"),
File("subghz/blocks/math.h"), File("blocks/math.h"),
File("subghz/subghz_setting.h"), File("subghz_setting.h"),
], ],
) )