Fix length of the getConfig reply.

This commit is contained in:
Jonathan Naylor
2018-06-14 07:25:09 +01:00
parent 56ced0d939
commit d151c100db
+2 -2
View File
@@ -139,11 +139,11 @@ void CSerialPort::getStatus()
{ {
io.resetWatchdog(); io.resetWatchdog();
uint8_t reply[15U]; uint8_t reply[20U];
// Send all sorts of interesting internal values // Send all sorts of interesting internal values
reply[0U] = MMDVM_FRAME_START; reply[0U] = MMDVM_FRAME_START;
reply[1U] = 11U; reply[1U] = 13U;
reply[2U] = MMDVM_GET_STATUS; reply[2U] = MMDVM_GET_STATUS;
reply[3U] = 0x00U; reply[3U] = 0x00U;