Skip to content

Commit ec4432c

Browse files
committed
Whitespace changes
1 parent dfcef2b commit ec4432c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Firmware/RTK_Surveyor/menuPP.ino

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
#define MQTT_CERT_SIZE 2000
1010

1111
// The PointPerfect token is provided at compile time via build flags
12-
#define DEVELOPMENT_TOKEN \
13-
0xAA, 0xBB, 0xCC, 0xDD, 0x00, 0x11, 0x22, 0x33, 0x0A, 0x0B, 0x0C, 0x0D, 0x00, 0x01, 0x02, 0x03
12+
#define DEVELOPMENT_TOKEN 0xAA, 0xBB, 0xCC, 0xDD, 0x00, 0x11, 0x22, 0x33, 0x0A, 0x0B, 0x0C, 0x0D, 0x00, 0x01, 0x02, 0x03
1413
#ifndef POINTPERFECT_TOKEN
1514
#warning Using the DEVELOPMENT_TOKEN for point perfect!
16-
#define POINTPERFECT_TOKEN DEVELOPMENT_TOKEN
15+
#define POINTPERFECT_TOKEN DEVELOPMENT_TOKEN
1716
#endif // POINTPERFECT_TOKEN
1817

1918
static const uint8_t developmentTokenArray[16] = {DEVELOPMENT_TOKEN}; // Token in HEX form
@@ -181,7 +180,7 @@ bool pointperfectProvisionDevice()
181180
{
182181
#ifdef COMPILE_WIFI
183182
bool bluetoothOriginallyConnected = false;
184-
if(bluetoothState == BT_CONNECTED)
183+
if (bluetoothState == BT_CONNECTED)
185184
bluetoothOriginallyConnected = true;
186185

187186
bluetoothStop(); // Free heap before starting secure client (requires ~70KB)
@@ -342,7 +341,7 @@ bool pointperfectProvisionDevice()
342341
if (jsonZtp)
343342
delete jsonZtp;
344343

345-
if(bluetoothOriginallyConnected == true)
344+
if (bluetoothOriginallyConnected == true)
346345
bluetoothStart();
347346

348347
return (retVal);
@@ -445,7 +444,7 @@ bool pointperfectUpdateKeys()
445444
{
446445
#ifdef COMPILE_WIFI
447446
bool bluetoothOriginallyConnected = false;
448-
if(bluetoothState == BT_CONNECTED)
447+
if (bluetoothState == BT_CONNECTED)
449448
bluetoothOriginallyConnected = true;
450449

451450
bluetoothStop(); // Release available heap to allow room for TLS
@@ -565,7 +564,7 @@ bool pointperfectUpdateKeys()
565564
if (certificateContents)
566565
free(certificateContents);
567566

568-
if(bluetoothOriginallyConnected == true)
567+
if (bluetoothOriginallyConnected == true)
569568
bluetoothStart();
570569

571570
// Return the key status
@@ -1261,7 +1260,8 @@ void updateLBand()
12611260
{
12621261
lbandRestarts++;
12631262

1264-
lbandTimeFloatStarted = millis(); //Restart timer for L-Band. Don't immediately reset ZED to achieve fix.
1263+
lbandTimeFloatStarted =
1264+
millis(); // Restart timer for L-Band. Don't immediately reset ZED to achieve fix.
12651265

12661266
// Hotstart ZED to try to get RTK lock
12671267
theGNSS.softwareResetGNSSOnly();
@@ -1293,7 +1293,8 @@ void updateLBand()
12931293
if (lBandCommunicationEnabled == true)
12941294
{
12951295
log_d("Disabling L-Band communication due to RTCM reception");
1296-
lBandCommunicationEnabled = !zedDisableLBandCommunication(); //zedDisableLBandCommunication() returns true if we successfully disabled
1296+
lBandCommunicationEnabled = !zedDisableLBandCommunication(); // zedDisableLBandCommunication() returns
1297+
// true if we successfully disabled
12971298
}
12981299
}
12991300
}

0 commit comments

Comments
 (0)