From d9a868eb10b1cc37df7ff2316a3a3c61bf7b4d67 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Mon, 18 Jun 2018 14:44:26 -0400 Subject: [PATCH] Fix getStatus() reply length --- SerialPort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index b2042aa..358bf50 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -114,7 +114,7 @@ void CSerialPort::getStatus() // Send all sorts of interesting internal values reply[0U] = MMDVM_FRAME_START; - reply[1U] = 11U; + reply[1U] = 12U; reply[2U] = MMDVM_GET_STATUS; reply[3U] = 0x00U; @@ -177,7 +177,7 @@ void CSerialPort::getStatus() else reply[11U] = 0U; - writeInt(1U, reply, 11); + writeInt(1U, reply, 12); } void CSerialPort::getVersion()