mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 14:30:25 +00:00
set idle state when running read from main menu
This commit is contained in:
parent
6d967d71b2
commit
632627b2d5
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ bool subghz_scene_start_on_event(void* context, SceneManagerEvent event) {
|
||||||
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReadRAW);
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReadRAW);
|
||||||
return true;
|
return true;
|
||||||
} else if(event.event == SubmenuIndexRead) {
|
} else if(event.event == SubmenuIndexRead) {
|
||||||
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateIDLE);
|
||||||
scene_manager_set_scene_state(
|
scene_manager_set_scene_state(
|
||||||
subghz->scene_manager, SubGhzSceneStart, SubmenuIndexRead);
|
subghz->scene_manager, SubGhzSceneStart, SubmenuIndexRead);
|
||||||
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReceiver);
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReceiver);
|
||||||
|
|
Loading…
Reference in a new issue