1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Remove build flags and switch back to SERCOM4

This commit is contained in:
David Cutting 2020-06-01 16:31:23 -06:00
parent ea3153279b
commit 9f60df9f01
2 changed files with 3 additions and 6 deletions

View File

@ -24,7 +24,6 @@ upload_protocol = atmel-ice
lib_deps =
${env.lib_deps}
SparkFun External EEPROM Arduino Library
build_flags = -D ATSAMD21G
[env:mega2560]
platform = atmelavr
@ -33,7 +32,6 @@ framework = arduino
lib_deps =
${env.lib_deps}
DIO2
build_flags = -D ATMEGA2560
[env:mega328]
platform = atmelavr
@ -41,5 +39,4 @@ board = uno
framework = arduino
lib_deps =
${env.lib_deps}
DIO2
build_flags = -D ATMEGA328
DIO2

View File

@ -25,7 +25,7 @@ void waveform_IrqHandler() {
}
#if defined(ARDUINO_ARCH_SAMD)
void SERCOM2_Handler()
void SERCOM4_Handler()
{
mainTrack->hdw.railcom_serial->IrqHandler();
}
@ -52,7 +52,7 @@ void setup() {
EEStore::init();
JMRIParser::init(mainTrack, progTrack); // Set up the string parser to accept commands from the interfaces
CommManager::showInitInfo();
CommManager::showInitInfo();
}
void loop() {