diff --git a/DCCTimerAVR.cpp b/DCCTimerAVR.cpp index 66b51ba..5310704 100644 --- a/DCCTimerAVR.cpp +++ b/DCCTimerAVR.cpp @@ -75,6 +75,7 @@ void DCCTimer::startRailcomTimer(byte brakePin) { (there will be 7 DCC timer1 ticks in which to do this.) */ + (void) brakePin; // Ignored... works on pin 9 only const int cutoutDuration = 430; // Desired interval in microseconds // Set up Timer2 for CTC mode (Clear Timer on Compare Match) diff --git a/DCCTimerMEGAAVR.cpp b/DCCTimerMEGAAVR.cpp index 19eb409..be9337b 100644 --- a/DCCTimerMEGAAVR.cpp +++ b/DCCTimerMEGAAVR.cpp @@ -82,6 +82,7 @@ extern char *__malloc_heap_start; void DCCTimer::startRailcomTimer(byte brakePin) { // TODO: for intended operation see DCCTimerAVR.cpp + (void) brakePin; } void DCCTimer::ackRailcomTimer() { diff --git a/DCCTimerSAMD.cpp b/DCCTimerSAMD.cpp index a0b4da5..d281371 100644 --- a/DCCTimerSAMD.cpp +++ b/DCCTimerSAMD.cpp @@ -78,6 +78,7 @@ void DCCTimer::begin(INTERRUPT_CALLBACK callback) { void DCCTimer::startRailcomTimer(byte brakePin) { // TODO: for intended operation see DCCTimerAVR.cpp + (void) brakePin; } void DCCTimer::ackRailcomTimer() { diff --git a/DCCTimerSTM32.cpp b/DCCTimerSTM32.cpp index eb7e1ca..e22758f 100644 --- a/DCCTimerSTM32.cpp +++ b/DCCTimerSTM32.cpp @@ -203,6 +203,7 @@ void DCCTimer::begin(INTERRUPT_CALLBACK callback) { void DCCTimer::startRailcomTimer(byte brakePin) { // TODO: for intended operation see DCCTimerAVR.cpp + (void) brakePin; } void DCCTimer::ackRailcomTimer() { diff --git a/DCCTimerTEENSY.cpp b/DCCTimerTEENSY.cpp index 1230180..d7bb29b 100644 --- a/DCCTimerTEENSY.cpp +++ b/DCCTimerTEENSY.cpp @@ -41,6 +41,7 @@ void DCCTimer::begin(INTERRUPT_CALLBACK callback) { void DCCTimer::startRailcomTimer(byte brakePin) { // TODO: for intended operation see DCCTimerAVR.cpp + (void) brakePin; } void DCCTimer::ackRailcomTimer() {