We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b370bf6 commit b4c1ea9Copy full SHA for b4c1ea9
Firmware/RTK_Everywhere/WebServer.ino
@@ -417,7 +417,7 @@ static void handleFirmwareFileUpload()
417
{
418
// Check file name against valid firmware names
419
const char *BIN_EXT = "bin";
420
- const char *BIN_HEADER = "RTK_Everywhere_Firmware";
+ const char *BIN_HEADER = "/RTK_Everywhere";
421
422
fileName = upload.filename;
423
@@ -429,7 +429,7 @@ static void handleFirmwareFileUpload()
429
// Check 'bin' extension
430
if (strcmp(BIN_EXT, &fname[strlen(fname) - strlen(BIN_EXT)]) == 0)
431
432
- // Check for 'RTK_Everywhere_Firmware' start of file name
+ // Check for '/RTK_Everywhere' start of file name
433
if (strncmp(fname, BIN_HEADER, strlen(BIN_HEADER)) == 0)
434
435
// Begin update process
0 commit comments