From 4035c533e00291034227d65d4c6d132032664e03 Mon Sep 17 00:00:00 2001 From: Nemanja Stojoski Date: Sun, 8 Oct 2023 13:36:59 +0200 Subject: [PATCH] Fix testing phrase CRC calculation --- ground_station/src/telemetry/telemetry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground_station/src/telemetry/telemetry.cpp b/ground_station/src/telemetry/telemetry.cpp index 7e3f14bb..05dbeeff 100644 --- a/ground_station/src/telemetry/telemetry.cpp +++ b/ground_station/src/telemetry/telemetry.cpp @@ -68,7 +68,7 @@ void Telemetry::initLink() { } if (testingPhrase[0] != 0) { - testingCrc = crc32(testingPhrase, strlen((const char*)linkPhrase)); + testingCrc = crc32(testingPhrase, strlen((const char*)testingPhrase)); } }