From 1dd214931f0a4062bf55292f7e90b3c0ddde815d Mon Sep 17 00:00:00 2001 From: David Cutting Date: Sat, 30 May 2020 13:06:45 -0600 Subject: [PATCH] Update main file to reflect library changes --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7f5f6ae..4da0d75 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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(); }