1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

make compile for other arch but AVR

This commit is contained in:
Harald Barth
2022-10-02 22:53:35 +02:00
parent 24e5e648b8
commit 5e616a9eb2
7 changed files with 41 additions and 39 deletions

View File

@@ -54,6 +54,7 @@ int16_t TrackManager::joinRelay=UNUSED_PIN;
byte TrackManager::tempProgTrack=MAX_TRACKS+1;
#endif
#ifdef ANALOG_READ_INTERRUPT
/*
* sampleCurrent() runs from Interrupt
*/
@@ -95,6 +96,7 @@ void TrackManager::sampleCurrent() {
}
}
}
#endif
// The setup call is done this way so that the tracks can be in a list
// from the config... the tracks default to NULL in the declaration