mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 18:03:45 +02:00
less debug diag
This commit is contained in:
4
DCC.cpp
4
DCC.cpp
@@ -163,8 +163,8 @@ uint8_t DCC::getThrottleFrequency(int cab) {
|
||||
if (reg<0)
|
||||
return 0; // use default frequency
|
||||
uint8_t res = (uint8_t)(speedTable[reg].functions >>30);
|
||||
DIAG(F("Speed table %d functions %l shifted %d"), reg, speedTable[reg].functions, res);
|
||||
return res; // shift out first 29 bits so we have the "frequency bits" left
|
||||
//DIAG(F("Speed table %d functions %l shifted %d"), reg, speedTable[reg].functions, res);
|
||||
return res; // shift out first 30 bits so we have the "frequency bits" left
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user