From d151c100db8a1facf9ebf9c2a8beb2f1ec398706 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 14 Jun 2018 07:25:09 +0100 Subject: [PATCH] Fix length of the getConfig reply. --- SerialPort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index b879cca..11e4cea 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -139,11 +139,11 @@ void CSerialPort::getStatus() { io.resetWatchdog(); - uint8_t reply[15U]; + uint8_t reply[20U]; // Send all sorts of interesting internal values reply[0U] = MMDVM_FRAME_START; - reply[1U] = 11U; + reply[1U] = 13U; reply[2U] = MMDVM_GET_STATUS; reply[3U] = 0x00U;