@@ -5,7 +5,7 @@ Begin.ino
5
5
radio, etc.
6
6
------------------------------------------------------------------------------*/
7
7
8
- #include < esp_mac.h> // required - exposes esp_mac_type_t values
8
+ #include < esp_mac.h> // required - exposes esp_mac_type_t values
9
9
10
10
// ----------------------------------------
11
11
// Constants
@@ -834,9 +834,9 @@ void beginInterrupts()
834
834
if (present.ethernet_ws5500 == true )
835
835
{
836
836
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
838
838
// 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
840
840
}
841
841
#endif // COMPILE_ETHERNET
842
842
}
@@ -847,22 +847,22 @@ void tickerBegin()
847
847
if (pin_bluetoothStatusLED != PIN_UNDEFINED)
848
848
{
849
849
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()
852
852
}
853
853
854
854
if (pin_gnssStatusLED != PIN_UNDEFINED)
855
855
{
856
856
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
858
858
gnssLedTask.detach (); // Turn off any previous task
859
859
gnssLedTask.attach (1.0 / gnssTaskUpdatesHz, tickerGnssLedUpdate); // Rate in seconds, callback
860
860
}
861
861
862
862
if (pin_batteryStatusLED != PIN_UNDEFINED)
863
863
{
864
864
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
866
866
batteryLedTask.detach (); // Turn off any previous task
867
867
batteryLedTask.attach (1.0 / batteryTaskUpdatesHz, tickerBatteryLedUpdate); // Rate in seconds, callback
868
868
}
0 commit comments