Browse Source

Fix doubling positions on rx list

pull/34/head
Łukasz Nidecki 12 months ago
parent
commit
0a8d94641f
  1. 1
      platformio.ini
  2. 2
      src/TTGO_T-Beam_LoRa_APRS.ino
  3. 1
      src/taskWebServer.cpp

1
platformio.ini

@ -119,6 +119,7 @@ build_flags =
-D ENABLE_BLUETOOTH
-D ENABLE_SYSLOG
-D 'SYSLOG_IP="192.168.0.102"'
-D DEVELOPMENT_DEBUG
lib_deps =
${env.lib_deps}
arcao/Syslog

2
src/TTGO_T-Beam_LoRa_APRS.ino

@ -733,7 +733,7 @@ void setup(){
#ifdef ENABLE_WIFI
webServerCfg = {.callsign = Tcall};
xTaskCreate(taskWebServer, "taskWebServer", 42000, (void*)(&webServerCfg), 1, nullptr);
xTaskCreate(taskWebServer, "taskWebServer", 12000, (void*)(&webServerCfg), 1, nullptr);
writedisplaytext("LoRa-APRS","","Init:","WiFi task started"," =:-) ","");
#endif

1
src/taskWebServer.cpp

@ -168,7 +168,6 @@ void handle_ReceivedList() {
packet_data["packet"] = element->packet->c_str();
packet_data["rssi"] = element->RSSI;
packet_data["snr"] = element->SNR / 10.0f;
received.add(packet_data);
}
server.send(200,"application/json", doc.as<String>());

Loading…
Cancel
Save