1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Merge branch 'currentvalues'

This commit is contained in:
Harald Barth
2020-12-11 22:04:39 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -435,7 +435,7 @@ void DCCEXParser::parse(Print *stream, byte *com, bool blocking)
return;
case 'c': // READ CURRENT <c>
StringFormatter::send(stream, F("<a %d>"), DCCWaveform::mainTrack.getLastCurrent());
StringFormatter::send(stream, F("<a %d>"), DCCWaveform::mainTrack.get1024Current());
return;
case 'Q': // SENSORS <Q>