pull/75/head
Matt 2021-09-18 12:44:20 -05:00
rodzic 052589a608
commit afa4121b51
3 zmienionych plików z 2 dodań i 17 usunięć

Wyświetl plik

@ -54,7 +54,6 @@ build_flags =
-D 'NETWORK_GPS_PORT=10110' ; GPS NMEA Port
-D 'ENABLE_TNC_SELF_TELEMETRY' ; can be set from www interface
-D 'TNC_SELF_TELEMETRY_INTERVAL=3600L' ; can be set from www interface (seconds)
; -D 'TNC_SELF_TELEMETRY_SEQ=0L' ; start number for telemetry sequence
-D 'SHOW_OLED_TIME=15000' ; OLED Timeout
[env:ttgo-t-beam-v1.0]

Wyświetl plik

@ -107,7 +107,6 @@ boolean show_cmt = true;
int tel_interval;
// Telemetry sequence, current value
int tel_sequence;
//int tel_sequence = preferences.getInt(PREF_TNC_SELF_TELEMETRY_SEQ, 0);
#ifdef SHOW_ALT
boolean showAltitude = true;
@ -124,11 +123,6 @@ int tel_sequence;
#else
boolean enable_tel = false;
#endif
//#ifdef TNC_SELF_TELEMETRY_SEQ
// int tel_sequence = TNC_SELF_TELEMETRY_SEQ;
//#else
// int tel_sequence = PREF_TNC_SELF_TELEMETRY_SEQ;
//#endif
#ifdef ENABLE_BLUETOOTH
boolean enable_bluetooth = true;
#else
@ -552,13 +546,8 @@ String prepareCallsign(const String& callsign){
#endif
// Update the telemetry sequence number
//if(tel_sequence >= 0 & tel_sequence < 999){
tel_sequence = tel_sequence + 1;
//}
//else {
// tel_sequence = 0;
//}
preferences.putUInt(PREF_TNC_SELF_TELEMETRY_SEQ, tel_sequence);
tel_sequence = tel_sequence + 1;
preferences.putUInt(PREF_TNC_SELF_TELEMETRY_SEQ, tel_sequence);
}
#endif

Wyświetl plik

@ -275,9 +275,6 @@ void handle_SaveAPRSCfg() {
if (server.hasArg(PREF_TNC_SELF_TELEMETRY_INTERVAL)){
preferences.putInt(PREF_TNC_SELF_TELEMETRY_INTERVAL, server.arg(PREF_TNC_SELF_TELEMETRY_INTERVAL).toInt());
}
//Arg(PREF_TNC_SELF_TELEMETRY_SEQ)){
// preferences.putInt(PREF_TNC_SELF_TELEMETRY_SEQ, server.arg(PREF_TNC_SELF_TELEMETRY_SEQ).toInt());
//}
// Smart Beaconing settings
if (server.hasArg(PREF_APRS_FIXED_BEACON_INTERVAL_PRESET)){