mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Update main file to reflect library changes
This commit is contained in:
parent
a33270dff3
commit
1dd214931f
@ -35,6 +35,9 @@ void main_IrqHandler() {
|
||||
}
|
||||
|
||||
void setup() {
|
||||
mainTrack->hdw.init();
|
||||
progTrack->hdw.init();
|
||||
|
||||
// TimerA is TCC0 on SAMD21, Timer1 on MEGA2560, and Timer1 on MEGA328
|
||||
// We will fire an interrupt every 58us to generate the signal on the track
|
||||
TimerA.initialize();
|
||||
@ -53,7 +56,7 @@ void setup() {
|
||||
|
||||
EEStore::init();
|
||||
|
||||
StringParser::init(mainTrack, progTrack); // Set up the string parser to accept commands from the interfaces
|
||||
JMRIParser::init(mainTrack, progTrack); // Set up the string parser to accept commands from the interfaces
|
||||
CommManager::showInitInfo();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user