missing commit

This commit is contained in:
Hansi, dl9rdz 2024-09-08 20:49:40 +00:00
parent e46fc719ec
commit 81d654dff6
2 changed files with 7 additions and 2 deletions

View File

@ -1297,7 +1297,11 @@ void SetupAsyncServer() {
AsyncWebServerResponse *response = request->beginChunkedResponse("application/json", [dir, dent](uint8_t *buf, size_t maxLen, size_t index) mutable -> size_t {
Serial.printf("[HTTP]\tINDEX [%d]\tBUFFER_MAX_LENGHT [%d]\r\n", index, maxLen);
if(index==0) {
if(!dir) {
dent = NULL;
}else {
dent = readdir(dir);
}
strcpy((char *)buf, "[ \n");
if(dent==NULL) { strcpy( (char*)buf+2, "]"); return 3; }
return 3;

View File

@ -27,6 +27,7 @@
rxlat=
rxlon=
rxalt=
b2mute=360
tft_orient=1
#tft_spifreq=40000000
#gps_rxd=-1
@ -39,7 +40,7 @@ tft_orient=1
maxsonde=20
debug=0
# wifi mode: 1=client in background; 2=AP in background; 3=client on startup, ap if failure
wifi=3
wifi=4
# TCP/IP KISS TNC in port 14590 for APRSdroid (0=disabled, 1=enabled)
kisstnc.active = 1