1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

Removed duplicate DIAG

This commit is contained in:
Asbelos 2023-02-24 16:56:21 +00:00
parent 780c6ea162
commit 02ee8ad080

View File

@ -179,10 +179,7 @@ void CommandDistributor::setClockTime(int16_t clocktime, int8_t clockrate, byte
{ {
case 1: case 1:
if (clocktime != lastclocktime){ if (clocktime != lastclocktime){
if (Diag::CMD) { // CAH. DIAG removed because LCD does it anyway.
DIAG(F("Clock Command Received"));
DIAG(F("Received Clock Time is: %d at rate: %d"), clocktime, clockrate);
}
LCD(6,F("Clk Time:%d Sp %d"), clocktime, clockrate); LCD(6,F("Clk Time:%d Sp %d"), clocktime, clockrate);
// look for an event for this time // look for an event for this time
RMFT2::clockEvent(clocktime,1); RMFT2::clockEvent(clocktime,1);