missing commit
This commit is contained in:
parent
e46fc719ec
commit
81d654dff6
|
|
@ -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 {
|
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);
|
Serial.printf("[HTTP]\tINDEX [%d]\tBUFFER_MAX_LENGHT [%d]\r\n", index, maxLen);
|
||||||
if(index==0) {
|
if(index==0) {
|
||||||
dent = readdir(dir);
|
if(!dir) {
|
||||||
|
dent = NULL;
|
||||||
|
}else {
|
||||||
|
dent = readdir(dir);
|
||||||
|
}
|
||||||
strcpy((char *)buf, "[ \n");
|
strcpy((char *)buf, "[ \n");
|
||||||
if(dent==NULL) { strcpy( (char*)buf+2, "]"); return 3; }
|
if(dent==NULL) { strcpy( (char*)buf+2, "]"); return 3; }
|
||||||
return 3;
|
return 3;
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
rxlat=
|
rxlat=
|
||||||
rxlon=
|
rxlon=
|
||||||
rxalt=
|
rxalt=
|
||||||
|
b2mute=360
|
||||||
tft_orient=1
|
tft_orient=1
|
||||||
#tft_spifreq=40000000
|
#tft_spifreq=40000000
|
||||||
#gps_rxd=-1
|
#gps_rxd=-1
|
||||||
|
|
@ -39,7 +40,7 @@ tft_orient=1
|
||||||
maxsonde=20
|
maxsonde=20
|
||||||
debug=0
|
debug=0
|
||||||
# wifi mode: 1=client in background; 2=AP in background; 3=client on startup, ap if failure
|
# 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)
|
# TCP/IP KISS TNC in port 14590 for APRSdroid (0=disabled, 1=enabled)
|
||||||
kisstnc.active = 1
|
kisstnc.active = 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue