mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Removed irq debug code.
This commit is contained in:
parent
c0886ebea3
commit
2cbfde0484
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user