Update subghz GPS dir finder & thread logic

also a few other finishing touches
This commit is contained in:
Sil333033
2023-10-08 21:20:42 +02:00
parent f7f3780aef
commit 88b98fb175
7 changed files with 99 additions and 64 deletions

View File

@@ -130,6 +130,12 @@ static void subghz_scene_receiver_config_set_gps(VariableItem* item) {
subghz->last_settings->gps_enabled = index == 1;
subghz_last_settings_save(
subghz->last_settings); //TODO, make it to choose baudrate. now it is 9600
if(subghz->last_settings->gps_enabled) {
subghz_gps_start(subghz->gps);
} else {
subghz_gps_stop(subghz->gps);
}
}
static void subghz_scene_receiver_config_set_timestamp_file_names(VariableItem* item) {