From 7b40bd3290a0da11cc1362f419099db944557fc4 Mon Sep 17 00:00:00 2001 From: Ash-4 <81280775+Ash-4@users.noreply.github.com> Date: Mon, 2 May 2022 18:58:03 -0500 Subject: [PATCH] Updated CV read command Equivalent to uses the verify callback. --- DCCEXParser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 185c87d..2dfac84 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -382,6 +382,13 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) return; case 'R': // READ CV ON PROG + if (params == 1) + { // -- uses verify callback + if (!stashCallback(stream, p, ringStream)) + break; + DCC::verifyCVByte(p[0], p[1], callback_Vbyte); + return; + } if (params == 3) { // if (!stashCallback(stream, p, ringStream))