mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Update subghz GPS dir finder & thread logic
also a few other finishing touches
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user