1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 21:01:25 +01:00

Remove compiler warnings

This commit is contained in:
Asbelos 2024-02-09 10:37:51 +00:00
parent 6f1df6ce8e
commit 4b97d63cf3
5 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {