Merge pull request #355 from ArjanOnwezen/aprs_packet_hpp_warning_fix

aprs_packet.hpp compiler warning fix
This commit is contained in:
Erwin Ried 2021-05-12 02:19:57 +02:00 committed by GitHub
commit 42b33c4526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;