diff --git a/CommandStation-EX.ino b/CommandStation-EX.ino index 6b0ea71..77e8f40 100644 --- a/CommandStation-EX.ino +++ b/CommandStation-EX.ino @@ -69,8 +69,6 @@ void setup() { // The main sketch has responsibilities during setup() - pinMode(LED_BUILTIN, OUTPUT); - digitalWrite(LED_BUILTIN, LOW); // Responsibility 1: Start the usb connection for diagnostics // This is normally Serial but uses SerialUSB on a SAMD processor diff --git a/DCCWaveform.cpp b/DCCWaveform.cpp index 3479921..53cab96 100644 --- a/DCCWaveform.cpp +++ b/DCCWaveform.cpp @@ -71,10 +71,7 @@ void DCCWaveform::loop() { #pragma GCC push_options #pragma GCC optimize ("-O3") -static uint32_t blinker = 0; void DCCWaveform::interruptHandler() { - if (!(blinker++ % 25000)) - digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN)); // call the timer edge sensitive actions for progtrack and maintrack // member functions would be cleaner but have more overhead byte sigMain=signalTransform[mainTrack.state];