@@ -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 }
0 commit comments