From f5c3219035f50c7cbfa26d124f25fa2b547e8287 Mon Sep 17 00:00:00 2001 From: Arjan Onwezen Date: Mon, 10 May 2021 21:30:45 +0200 Subject: [PATCH] aprs_packet.hpp compiler warning fix --- firmware/common/aprs_packet.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/common/aprs_packet.hpp b/firmware/common/aprs_packet.hpp index e3d76ece..e521a955 100644 --- a/firmware/common/aprs_packet.hpp +++ b/firmware/common/aprs_packet.hpp @@ -339,9 +339,9 @@ private: std::string lat_str = ""; std::string lng_str = ""; - bool is_north; - bool is_west; - uint8_t lng_offset; + bool is_north = false; + bool is_west = false; + uint8_t lng_offset = 0; for(uint8_t i = DESTINATION_START; i < DESTINATION_START + ADDRESS_SIZE - 1; i++){ uint8_t ascii = payload[i] >> 1;