From 83799e1b71d985abd413b319c371174d741ab958 Mon Sep 17 00:00:00 2001 From: Michael <101.37584@germanynet.de> Date: Sun, 26 Mar 2023 12:35:50 +0200 Subject: [PATCH] editorial change: corrected obsolete comment --- radio/src/telemetry/mlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/telemetry/mlink.cpp b/radio/src/telemetry/mlink.cpp index 0b3f951e49b..e1ee4856029 100644 --- a/radio/src/telemetry/mlink.cpp +++ b/radio/src/telemetry/mlink.cpp @@ -228,7 +228,7 @@ void processExternalMLinkSerialData(void* ctx, uint8_t data, uint8_t* buffer, ui uint8_t sum = 1; // sanity check: checksum for (uint8_t i = 0; i < MSB_EXT_MODULE_PACKET_LEN; i++) sum += buffer[i]; // expect sum == 1+0xff = 0x00 for valid packet - if (sum) { // adding 1 -> expect 0x00 if checksum ok + if (sum) { // fail packet if sum is not equal to 0x00 return; }