mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-02-16 22:19: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.
|
// As the minimum clock increment is 2 seconds delay a bit - say 1 sec.
|
||||||
// Clock interval is 60/ clockspeed i.e 60/b seconds
|
// Clock interval is 60/ clockspeed i.e 60/b seconds
|
||||||
delayUntil(currentMicros + ((60/b) * 1000000));
|
delayUntil(currentMicros + ((60/b) * 1000000));
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Display EX-FastClock device driver info.
|
// 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(""));
|
DIAG(F("FastCLock on I2C:%s - %S"), _I2CAddress.toString(), (_deviceState==DEVSTATE_FAILED) ? F("OFFLINE") : F(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user