Remove unused user latitude/longitude defines.
This commit is contained in:
parent
8ce92f126a
commit
7c64f27c22
|
@ -103,8 +103,6 @@ void modesInitConfig(void) {
|
||||||
Modes.interactive_rows = getTermRows();
|
Modes.interactive_rows = getTermRows();
|
||||||
Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL;
|
Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL;
|
||||||
Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_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_interval = 1;
|
||||||
Modes.json_location_accuracy = 1;
|
Modes.json_location_accuracy = 1;
|
||||||
Modes.maxRange = 1852 * 300; // 300NM default max range
|
Modes.maxRange = 1852 * 300; // 300NM default max range
|
||||||
|
|
11
dump1090.h
11
dump1090.h
|
@ -92,17 +92,6 @@
|
||||||
#include <rtl-sdr.h>
|
#include <rtl-sdr.h>
|
||||||
|
|
||||||
// ============================= #defines ===============================
|
// ============================= #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_PPM 52
|
||||||
#define MODES_DEFAULT_RATE 2000000
|
#define MODES_DEFAULT_RATE 2000000
|
||||||
|
|
|
@ -72,8 +72,6 @@ void view1090InitConfig(void) {
|
||||||
Modes.interactive_rows = getTermRows();
|
Modes.interactive_rows = getTermRows();
|
||||||
Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL;
|
Modes.interactive_delete_ttl = MODES_INTERACTIVE_DELETE_TTL;
|
||||||
Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_TTL;
|
Modes.interactive_display_ttl = MODES_INTERACTIVE_DISPLAY_TTL;
|
||||||
Modes.fUserLat = MODES_USER_LATITUDE_DFLT;
|
|
||||||
Modes.fUserLon = MODES_USER_LONGITUDE_DFLT;
|
|
||||||
|
|
||||||
Modes.interactive = 1;
|
Modes.interactive = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue