SubGHz: Default coords to NAN not 0

This commit is contained in:
Willy-JL
2024-04-02 17:54:12 +01:00
parent 708af5b120
commit 0e9c0c2bb0
5 changed files with 21 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ bool subghz_scene_need_saving_on_event(void* context, SceneManagerEvent event) {
}
subghz_txrx_set_preset(
subghz->txrx, "AM650", subghz->last_settings->frequency, 0, 0, NULL, 0);
subghz->txrx, "AM650", subghz->last_settings->frequency, NAN, NAN, NULL, 0);
scene_manager_search_and_switch_to_previous_scene(
subghz->scene_manager, SubGhzSceneStart);
} else if(state == SubGhzRxKeyStateTX) {