From f53d5b90279266e50f4b6197f4be4e7d46c0300c Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 11 May 2024 20:32:41 +0100 Subject: [PATCH] [FSK4] Fixed issues found by cppcheck --- src/protocols/FSK4/FSK4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols/FSK4/FSK4.h b/src/protocols/FSK4/FSK4.h index e4ff2db3..31df4101 100644 --- a/src/protocols/FSK4/FSK4.h +++ b/src/protocols/FSK4/FSK4.h @@ -85,8 +85,8 @@ class FSK4Client { uint32_t baseFreq = 0, baseFreqHz = 0; uint32_t shiftFreq = 0, shiftFreqHz = 0; RadioLibTime_t bitDuration = 0; - uint32_t tones[4]; - uint32_t tonesHz[4]; + uint32_t tones[4] = { 0 }; + uint32_t tonesHz[4] = { 0 }; void tone(uint8_t i);