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 = lib_deps =
${env.lib_deps} ${env.lib_deps}
SparkFun External EEPROM Arduino Library SparkFun External EEPROM Arduino Library
build_flags = -D ATSAMD21G
[env:mega2560] [env:mega2560]
platform = atmelavr platform = atmelavr
@ -33,7 +32,6 @@ framework = arduino
lib_deps = lib_deps =
${env.lib_deps} ${env.lib_deps}
DIO2 DIO2
build_flags = -D ATMEGA2560
[env:mega328] [env:mega328]
platform = atmelavr platform = atmelavr
@ -42,4 +40,3 @@ framework = arduino
lib_deps = lib_deps =
${env.lib_deps} ${env.lib_deps}
DIO2 DIO2
build_flags = -D ATMEGA328

View File

@ -25,7 +25,7 @@ void waveform_IrqHandler() {
} }
#if defined(ARDUINO_ARCH_SAMD) #if defined(ARDUINO_ARCH_SAMD)
void SERCOM2_Handler() void SERCOM4_Handler()
{ {
mainTrack->hdw.railcom_serial->IrqHandler(); mainTrack->hdw.railcom_serial->IrqHandler();
} }