Skip to content

Commit 9de52b6

Browse files
committed
Whitespace change
1 parent 25a5ece commit 9de52b6

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Firmware/RTK_Everywhere/Begin.ino

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Begin.ino
55
radio, etc.
66
------------------------------------------------------------------------------*/
77

8-
#include <esp_mac.h> // required - exposes esp_mac_type_t values
8+
#include <esp_mac.h> // required - exposes esp_mac_type_t values
99

1010
//----------------------------------------
1111
// Constants
@@ -834,9 +834,9 @@ void beginInterrupts()
834834
if (present.ethernet_ws5500 == true)
835835
{
836836
DMW_if systemPrintf("pin_Ethernet_Interrupt: %d\r\n", pin_Ethernet_Interrupt);
837-
pinMode(pin_Ethernet_Interrupt, INPUT); // Prepare the interrupt pin
837+
pinMode(pin_Ethernet_Interrupt, INPUT); // Prepare the interrupt pin
838838
// TODO: figure out how to handle NTP mode and timestamp the arrival of UDP NTP requests
839-
//attachInterrupt(pin_Ethernet_Interrupt, ethernetISR, FALLING); // Attach the interrupt
839+
// attachInterrupt(pin_Ethernet_Interrupt, ethernetISR, FALLING); // Attach the interrupt
840840
}
841841
#endif // COMPILE_ETHERNET
842842
}
@@ -847,22 +847,22 @@ void tickerBegin()
847847
if (pin_bluetoothStatusLED != PIN_UNDEFINED)
848848
{
849849
ledcAttach(pin_bluetoothStatusLED, pwmFreq, pwmResolution);
850-
ledcWrite(pin_bluetoothStatusLED, 255); // Turn on BT LED at startup
851-
//Attach happens in bluetoothStart()
850+
ledcWrite(pin_bluetoothStatusLED, 255); // Turn on BT LED at startup
851+
// Attach happens in bluetoothStart()
852852
}
853853

854854
if (pin_gnssStatusLED != PIN_UNDEFINED)
855855
{
856856
ledcAttach(pin_gnssStatusLED, pwmFreq, pwmResolution);
857-
ledcWrite(pin_gnssStatusLED, 0); // Turn off GNSS LED at startup
857+
ledcWrite(pin_gnssStatusLED, 0); // Turn off GNSS LED at startup
858858
gnssLedTask.detach(); // Turn off any previous task
859859
gnssLedTask.attach(1.0 / gnssTaskUpdatesHz, tickerGnssLedUpdate); // Rate in seconds, callback
860860
}
861861

862862
if (pin_batteryStatusLED != PIN_UNDEFINED)
863863
{
864864
ledcAttach(pin_batteryStatusLED, pwmFreq, pwmResolution);
865-
ledcWrite(pin_batteryStatusLED, 0); // Turn off battery LED at startup
865+
ledcWrite(pin_batteryStatusLED, 0); // Turn off battery LED at startup
866866
batteryLedTask.detach(); // Turn off any previous task
867867
batteryLedTask.attach(1.0 / batteryTaskUpdatesHz, tickerBatteryLedUpdate); // Rate in seconds, callback
868868
}

Firmware/RTK_Everywhere/Tilt.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ void beginTilt()
299299
char clubVector[strlen("CLUB_VECTOR=0,0,1.916") + 1];
300300
// antennaPhaseCenter_mm assigned in begin()
301301

302-
snprintf(clubVector, sizeof(clubVector), "CLUB_VECTOR=0,0,%0.3f", (settings.antennaHeight_mm + settings.antennaPhaseCenter_mm) / 1000.0);
302+
snprintf(clubVector, sizeof(clubVector), "CLUB_VECTOR=0,0,%0.3f",
303+
(settings.antennaHeight_mm + settings.antennaPhaseCenter_mm) / 1000.0);
303304
result &= tiltSensor->sendCommand(clubVector);
304305

305306
// Configure interface type. This allows IM19 to receive Unicore-style binary messages

0 commit comments

Comments
 (0)