mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
SubGHz: Show Geo info when GPS is disabled
This commit is contained in:
@@ -35,8 +35,8 @@ void subghz_scene_saved_menu_on_enter(void* context) {
|
||||
subghz_scene_saved_menu_submenu_callback,
|
||||
subghz);
|
||||
|
||||
if(!isnanf(subghz_txrx_get_latitude(subghz->txrx)) &&
|
||||
!isnanf(subghz_txrx_get_longitude(subghz->txrx))) {
|
||||
if(!isnanf(subghz_txrx_get_latitude(subghz->txrx)) ||
|
||||
!isnanf(subghz_txrx_get_longitude(subghz->txrx)) || subghz->gps) {
|
||||
submenu_add_item(
|
||||
subghz->submenu,
|
||||
"Geographic info",
|
||||
|
||||
Reference in New Issue
Block a user