trackermode in pre-config added

pull/9/head
Christian OE3CJB Bauer 2020-12-14 11:14:44 +01:00
rodzic 29323008e1
commit f0b4f1e98e
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -281,8 +281,9 @@ void setup()
for (int i=0;i<ANGLE_AVGS;i++) {average_course[i]=0;} // set average_course to "0"
prefs.begin("nvs", false);
tracker_mode = (Tx_Mode)prefs.getChar("tracker_mode", 0);
tracker_mode = (Tx_Mode)prefs.getChar("tracker_mode", TRACKERMODE);
prefs.end();
//tracker_mode = current_mode;
/////////////////
// hier muss aus dem RAM der Modus gelesen werden!

Wyświetl plik

@ -41,6 +41,7 @@
// IF NOT CHANGED you have to go through the configuration routine at first boot up of the TTGO T-Beam
// #define DONT_USE_FLASH_MEMORY // uncomment if you don't want to use Flashmemory - instead data below must be corrected
#define TRACKERMODE 0 // 0=TRACKER, 1=WX_TRACKER, 2=WX_MOVE, 3=WX_FIXED
#define CALLSIGN "OE3CJB-11" // enter your callsign here - less then 6 letter callsigns please add "spaces" so total length is 6 (without SSID)
#define WX_CALLSIGN "OE3CJB-11" // use same callsign but you can use different SSID
#define LONGITUDE_PRESET "01539.85E" // please in APRS notation DDDMM.mmE or DDDMM.mmW