mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-27 13:58:47 +03:00
SubGhz: refactoring
This commit is contained in:
parent
e817a4cdba
commit
5b447d0a56
@ -84,7 +84,8 @@ bool subghz_scene_transmitter_on_event(void* context, SceneManagerEvent event) {
|
||||
subghz_txrx_stop(subghz->txrx);
|
||||
|
||||
if(!subghz_tx_start(subghz, subghz_txtx_get_fff_data(subghz->txrx))) {
|
||||
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneShowOnlyRx);
|
||||
scene_manager_next_scene(
|
||||
subghz->scene_manager, SubGhzSceneShowOnlyRx); //TODO Is this necessary?
|
||||
}
|
||||
|
||||
subghz_txrx_stop(subghz->txrx);
|
||||
|
Loading…
Reference in New Issue
Block a user