Skip to content

Commit d9700d6

Browse files
committed
Pretty print uploaded firmware bytes
1 parent a60364d commit d9700d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/RTK_Surveyor/Form.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void startConfigAP()
4545
IPAddress local_IP(192, 168, 4, 1);
4646
IPAddress gateway(192, 168, 1, 1);
4747
IPAddress subnet(255, 255, 0, 0);
48+
4849
WiFi.softAPConfig(local_IP, gateway, subnet);
4950
if (WiFi.softAP("RTK Config") == false) //Must be short enough to fit OLED Width
5051
{
@@ -234,7 +235,7 @@ static void handleFirmwareFileUpload(AsyncWebServerRequest *request, String file
234235
binBytesLastUpdate = binBytesSent;
235236

236237
char bytesSentMsg[100];
237-
sprintf(bytesSentMsg, "%d bytes sent", binBytesSent);
238+
sprintf(bytesSentMsg, "%'d bytes sent", binBytesSent);
238239

239240
Serial.printf("bytesSentMsg: %s\n\r", bytesSentMsg);
240241

0 commit comments

Comments
 (0)