1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Removed irq debug code.

This commit is contained in:
Pontus Oldberg 2024-07-10 16:10:35 +02:00
parent c0886ebea3
commit 2cbfde0484
No known key found for this signature in database
GPG Key ID: F9B18EAE3BF76AE5
2 changed files with 0 additions and 5 deletions

View File

@ -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

View File

@ -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];