Skip to content

Commit 2a77f9b

Browse files
committed
Move incomingSettings size to define to match settingsCSV
1 parent 1faa4f1 commit 2a77f9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ AsyncWebSocket ws("/ws");
318318

319319
//Because the incoming string is longer than max len, there are multiple callbacks so we
320320
//use a global to combine the incoming
321-
char incomingSettings[3000];
321+
#define AP_CONFIG_SETTING_SIZE 3500
322+
char incomingSettings[AP_CONFIG_SETTING_SIZE];
322323
int incomingSettingsSpot = 0;
323324
unsigned long timeSinceLastIncomingSetting = 0;
324325
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

0 commit comments

Comments
 (0)