diff --git a/dump1090.c b/dump1090.c index a899600..699693d 100644 --- a/dump1090.c +++ b/dump1090.c @@ -103,8 +103,6 @@ void modesInitConfig(void) { Modes.interactive_rows = getTermRows(); Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL; Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_TTL; - Modes.fUserLat = MODES_USER_LATITUDE_DFLT; - Modes.fUserLon = MODES_USER_LONGITUDE_DFLT; Modes.json_interval = 1; Modes.json_location_accuracy = 1; Modes.maxRange = 1852 * 300; // 300NM default max range diff --git a/dump1090.h b/dump1090.h index e18f028..5a2aeee 100644 --- a/dump1090.h +++ b/dump1090.h @@ -92,17 +92,6 @@ #include // ============================= #defines =============================== -// -// If you have a valid coaa.h, these values will come from it. If not, -// then you can enter your own values in the #else section here -// -#ifdef USER_LATITUDE - #define MODES_USER_LATITUDE_DFLT (USER_LATITUDE) - #define MODES_USER_LONGITUDE_DFLT (USER_LONGITUDE) -#else - #define MODES_USER_LATITUDE_DFLT (0.0) - #define MODES_USER_LONGITUDE_DFLT (0.0) -#endif #define MODES_DEFAULT_PPM 52 #define MODES_DEFAULT_RATE 2000000 diff --git a/view1090.c b/view1090.c index a8302fb..65d210e 100644 --- a/view1090.c +++ b/view1090.c @@ -72,8 +72,6 @@ void view1090InitConfig(void) { Modes.interactive_rows = getTermRows(); Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL; Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_TTL; - Modes.fUserLat = MODES_USER_LATITUDE_DFLT; - Modes.fUserLon = MODES_USER_LONGITUDE_DFLT; Modes.interactive = 1; }