1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Timer stuff with incomplete teensy

This commit is contained in:
Asbelos
2022-03-01 12:52:25 +00:00
parent dd9152864b
commit 6fc223d80b
12 changed files with 305 additions and 278 deletions

View File

@@ -138,9 +138,6 @@ void MotorDriver::setSignal( bool high) {
}
}
#if defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY35)|| defined(ARDUINO_TEENSY36)
volatile unsigned int overflow_count=0;
#endif
bool MotorDriver::canMeasureCurrent() {
return currentPin!=UNUSED_PIN;