mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
IO_EXFastClock - fix compile error due to closing brace outside of #if block.
This commit is contained in:
parent
1ffb3a9836
commit
18b148ed1f
|
@ -109,16 +109,14 @@ void _loop(unsigned long currentMicros) override{
|
|||
// As the minimum clock increment is 2 seconds delay a bit - say 1 sec.
|
||||
// Clock interval is 60/ clockspeed i.e 60/b seconds
|
||||
delayUntil(currentMicros + ((60/b) * 1000000));
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Display EX-FastClock device driver info.
|
||||
void _display() {
|
||||
void _display() override {
|
||||
DIAG(F("FastCLock on I2C:%s - %S"), _I2CAddress.toString(), (_deviceState==DEVSTATE_FAILED) ? F("OFFLINE") : F(""));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user