mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 08:20:21 +00:00
Fix part 1
This commit is contained in:
parent
e1f5999095
commit
c8bc9e26e0
14 changed files with 45 additions and 15 deletions
|
@ -216,6 +216,8 @@ int32_t clock_app(void* p) {
|
|||
// Exit the plugin
|
||||
processing = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
} /*else if(event.type == EventTypeTick) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -442,6 +442,8 @@ int32_t quenon_dht_mon_app() {
|
|||
case InputKeyBack:
|
||||
processing = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,6 +134,8 @@ void flipfrid_scene_entrypoint_on_event(FlipFridEvent event, FlipFridState* cont
|
|||
case InputKeyBack:
|
||||
context->is_running = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,6 +71,8 @@ void flipfrid_scene_load_custom_uids_on_event(FlipFridEvent event, FlipFridState
|
|||
case InputKeyBack:
|
||||
context->current_scene = SceneEntryPoint;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,6 +158,8 @@ void flipfrid_scene_load_file_on_event(FlipFridEvent event, FlipFridState* conte
|
|||
case InputKeyBack:
|
||||
context->current_scene = SceneEntryPoint;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -230,6 +230,8 @@ int32_t hc_sr04_app() {
|
|||
case InputKeyBack:
|
||||
processing = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -437,6 +437,8 @@ int32_t tetris_game_app() {
|
|||
case InputKeyBack:
|
||||
processing = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if(event.type == EventTypeTick) {
|
||||
|
|
|
@ -5,7 +5,7 @@ env.Append(
|
|||
"#/lib/drivers",
|
||||
],
|
||||
SDK_HEADERS=[
|
||||
File("drivers/nrf24.h"),
|
||||
File("nrf24.h"),
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -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"),
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue