From edbf2b3ec0b3fcd4850b1de00b0fcd257f404596 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Mon, 28 Aug 2017 23:02:28 -0300 Subject: [PATCH] Fix typo --- SerialPort.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index c174fc1..b707c36 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -426,10 +426,6 @@ void CSerialPort::process() m_ptr = 0U; m_len = 0U; } - else { - m_ptr = 0U; - m_len = 0U; - } } else if (m_ptr == 1U) { // Handle the frame length m_len = m_buffer[m_ptr] = c;