From 33ab28ad27308985762acd447826e312d78a4251 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Wed, 2 Mar 2022 20:23:09 +0100 Subject: [PATCH] Don't touch the frame buffer --- components/jk_modbus/jk_modbus.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/jk_modbus/jk_modbus.cpp b/components/jk_modbus/jk_modbus.cpp index 75ffdfaf..74630688 100644 --- a/components/jk_modbus/jk_modbus.cpp +++ b/components/jk_modbus/jk_modbus.cpp @@ -37,9 +37,6 @@ bool JkModbus::parse_jk_modbus_byte_(uint8_t byte) { this->rx_buffer_.push_back(byte); const uint8_t *raw = &this->rx_buffer_[0]; - // @FIXME - return false; - // Byte 0: Start sequence (0x4E) if (at == 0) return true;