diff --git a/applications/main/clock_app/clock_app.c b/applications/main/clock_app/clock_app.c index 1bd92d9ec..c5b4dd9e8 100644 --- a/applications/main/clock_app/clock_app.c +++ b/applications/main/clock_app/clock_app.c @@ -216,6 +216,8 @@ int32_t clock_app(void* p) { // Exit the plugin processing = false; break; + default: + break; } } } /*else if(event.type == EventTypeTick) { diff --git a/applications/main/unirfremix/unirfremix_app.c b/applications/main/unirfremix/unirfremix_app.c index 0ed42da7b..af231a80a 100644 --- a/applications/main/unirfremix/unirfremix_app.c +++ b/applications/main/unirfremix/unirfremix_app.c @@ -1044,6 +1044,8 @@ int32_t unirfremix_app(void* p) { unirfremix_tx_stop(app); exit_loop = true; break; + default: + break; } if(app->processing == 0) { @@ -1115,6 +1117,8 @@ int32_t unirfremix_app(void* p) { case InputKeyBack: exit_loop = true; break; + default: + break; } if(exit_loop == true) { diff --git a/applications/plugins/dht_temp_sensor/quenon_dht_mon.c b/applications/plugins/dht_temp_sensor/quenon_dht_mon.c index bbb91ec3d..4084a351c 100644 --- a/applications/plugins/dht_temp_sensor/quenon_dht_mon.c +++ b/applications/plugins/dht_temp_sensor/quenon_dht_mon.c @@ -442,6 +442,8 @@ int32_t quenon_dht_mon_app() { case InputKeyBack: processing = false; break; + default: + break; } } } diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_entrypoint.c b/applications/plugins/flipfrid/scene/flipfrid_scene_entrypoint.c index 3a1ce4951..1ac91625f 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_entrypoint.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_entrypoint.c @@ -134,6 +134,8 @@ void flipfrid_scene_entrypoint_on_event(FlipFridEvent event, FlipFridState* cont case InputKeyBack: context->is_running = false; break; + default: + break; } } } diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_load_custom_uids.c b/applications/plugins/flipfrid/scene/flipfrid_scene_load_custom_uids.c index cc9e9871d..9130b2d92 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_load_custom_uids.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_load_custom_uids.c @@ -71,6 +71,8 @@ void flipfrid_scene_load_custom_uids_on_event(FlipFridEvent event, FlipFridState case InputKeyBack: context->current_scene = SceneEntryPoint; break; + default: + break; } } } diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_load_file.c b/applications/plugins/flipfrid/scene/flipfrid_scene_load_file.c index 76864018b..b2e27fc9a 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_load_file.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_load_file.c @@ -158,6 +158,8 @@ void flipfrid_scene_load_file_on_event(FlipFridEvent event, FlipFridState* conte case InputKeyBack: context->current_scene = SceneEntryPoint; break; + default: + break; } } } diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_run_attack.c b/applications/plugins/flipfrid/scene/flipfrid_scene_run_attack.c index 3baa4ea49..c2f1a77ca 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_run_attack.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_run_attack.c @@ -546,6 +546,8 @@ void flipfrid_scene_run_attack_on_event(FlipFridEvent event, FlipFridState* cont notification_message(context->notify, &sequence_blink_stop); context->current_scene = SceneEntryPoint; break; + default: + break; } } } diff --git a/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c b/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c index 79416d616..ccb49e910 100644 --- a/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c +++ b/applications/plugins/flipfrid/scene/flipfrid_scene_select_field.c @@ -129,6 +129,8 @@ void flipfrid_scene_select_field_on_event(FlipFridEvent event, FlipFridState* co furi_string_reset(context->notification_msg); context->current_scene = SceneSelectFile; break; + default: + break; } FURI_LOG_D(TAG, "Position: %d/%d", context->key_index, nb_bytes); } diff --git a/applications/plugins/hc_sr04/hc_sr04.c b/applications/plugins/hc_sr04/hc_sr04.c index 911e92dc6..dbbf4f3ec 100644 --- a/applications/plugins/hc_sr04/hc_sr04.c +++ b/applications/plugins/hc_sr04/hc_sr04.c @@ -230,6 +230,8 @@ int32_t hc_sr04_app() { case InputKeyBack: processing = false; break; + default: + break; } } } diff --git a/applications/plugins/metronome/metronome.c b/applications/plugins/metronome/metronome.c index e0770f2f8..0afa15a36 100644 --- a/applications/plugins/metronome/metronome.c +++ b/applications/plugins/metronome/metronome.c @@ -318,6 +318,8 @@ int32_t metronome_app() { case InputKeyBack: processing = false; break; + default: + break; } } else if(event.input.type == InputTypeLong) { // hold events @@ -338,6 +340,8 @@ int32_t metronome_app() { case InputKeyBack: processing = false; break; + default: + break; } } else if(event.input.type == InputTypeRepeat) { // repeat events @@ -357,6 +361,8 @@ int32_t metronome_app() { case InputKeyBack: processing = false; break; + default: + break; } } } diff --git a/applications/plugins/spectrum_analyzer/spectrum_analyzer.c b/applications/plugins/spectrum_analyzer/spectrum_analyzer.c index d94739bc1..8d68c5a1a 100644 --- a/applications/plugins/spectrum_analyzer/spectrum_analyzer.c +++ b/applications/plugins/spectrum_analyzer/spectrum_analyzer.c @@ -496,6 +496,8 @@ int32_t spectrum_analyzer_app(void* p) { case InputKeyBack: exit_loop = true; break; + default: + break; } furi_mutex_release(spectrum_analyzer->model_mutex); diff --git a/applications/plugins/tetris_game/tetris_game.c b/applications/plugins/tetris_game/tetris_game.c index 29b61cd2a..949c29896 100644 --- a/applications/plugins/tetris_game/tetris_game.c +++ b/applications/plugins/tetris_game/tetris_game.c @@ -437,6 +437,8 @@ int32_t tetris_game_app() { case InputKeyBack: processing = false; break; + default: + break; } } } else if(event.type == EventTypeTick) { diff --git a/lib/drivers/SConscript b/lib/drivers/SConscript index 18b96a0ed..d82f09f1d 100644 --- a/lib/drivers/SConscript +++ b/lib/drivers/SConscript @@ -5,7 +5,7 @@ env.Append( "#/lib/drivers", ], SDK_HEADERS=[ - File("drivers/nrf24.h"), + File("nrf24.h"), ], ) diff --git a/lib/subghz/SConscript b/lib/subghz/SConscript index d0a663a50..8fbec94ad 100644 --- a/lib/subghz/SConscript +++ b/lib/subghz/SConscript @@ -5,20 +5,20 @@ env.Append( "#/lib/subghz", ], SDK_HEADERS=[ - File("subghz/environment.h"), - File("subghz/receiver.h"), - File("subghz/subghz_worker.h"), - File("subghz/subghz_tx_rx_worker.h"), - File("subghz/transmitter.h"), - File("subghz/registry.h"), - File("subghz/protocols/protocol_items.h"), - File("subghz/protocols/raw.h"), - File("subghz/blocks/const.h"), - File("subghz/blocks/decoder.h"), - File("subghz/blocks/encoder.h"), - File("subghz/blocks/generic.h"), - File("subghz/blocks/math.h"), - File("subghz/subghz_setting.h"), + File("environment.h"), + File("receiver.h"), + File("subghz_worker.h"), + File("subghz_tx_rx_worker.h"), + File("transmitter.h"), + File("registry.h"), + File("protocols/protocol_items.h"), + File("protocols/raw.h"), + File("blocks/const.h"), + File("blocks/decoder.h"), + File("blocks/encoder.h"), + File("blocks/generic.h"), + File("blocks/math.h"), + File("subghz_setting.h"), ], )