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

Update DCCWaveform.h

Eliminate function using older setup format
This commit is contained in:
Hans R. Tanner 2022-10-04 09:26:07 -04:00
parent 9d48f696d2
commit 5c472e13cc

View File

@ -118,10 +118,10 @@ class DCCWaveform {
inline bool canMeasureCurrent() { inline bool canMeasureCurrent() {
return motorDriver->canMeasureCurrent(); return motorDriver->canMeasureCurrent();
}; };
inline void setReportCurrent(bool newStatus, Print *stream) { // inline void setReportCurrent(bool newStatus, Print *stream) {
sendCurrentSample = newStatus; // sendCurrentSample = newStatus;
outStream = stream; // outStream = stream;
}; // };
inline void setAckLimit(int mA) { inline void setAckLimit(int mA) {
ackLimitmA = mA; ackLimitmA = mA;
} }