mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-05-07 11:56:49 +00:00
Merge pull request #597 from GullCode/proc-aprsrx-warning-fix
Fix for proc_aprsrx and aprs_packet warnings, they are related
This commit is contained in:
commit
a5a9bc85f8
@ -125,18 +125,18 @@ private:
|
|||||||
uint32_t sample_bits { 0 };
|
uint32_t sample_bits { 0 };
|
||||||
uint32_t phase { }, phase_inc { };
|
uint32_t phase { }, phase_inc { };
|
||||||
int32_t sample_mixed { }, prev_mixed { }, sample_filtered { }, prev_filtered { };
|
int32_t sample_mixed { }, prev_mixed { }, sample_filtered { }, prev_filtered { };
|
||||||
uint8_t last_bit;
|
uint8_t last_bit = 0;
|
||||||
uint8_t ones_count = 0;
|
uint8_t ones_count = 0 ;
|
||||||
uint8_t current_byte = 0;
|
uint8_t current_byte = 0;
|
||||||
uint8_t byte_index = 0;
|
uint8_t byte_index = 0;
|
||||||
uint8_t packet_buffer[256];
|
uint8_t packet_buffer[256];
|
||||||
size_t packet_buffer_size = 0;
|
size_t packet_buffer_size = 0;
|
||||||
|
|
||||||
bool configured { false };
|
bool configured { false };
|
||||||
bool wait_start { };
|
bool wait_start { 0 };
|
||||||
bool bit_value { };
|
bool bit_value { 0 };
|
||||||
|
|
||||||
aprs::APRSPacket aprs_packet;
|
aprs::APRSPacket aprs_packet { };
|
||||||
|
|
||||||
void configure(const APRSRxConfigureMessage& message);
|
void configure(const APRSRxConfigureMessage& message);
|
||||||
void capture_config(const CaptureConfigMessage& message);
|
void capture_config(const CaptureConfigMessage& message);
|
||||||
|
@ -259,7 +259,7 @@ private:
|
|||||||
bool valid_checksum = false;
|
bool valid_checksum = false;
|
||||||
uint8_t payload[256];
|
uint8_t payload[256];
|
||||||
char address_buffer[15];
|
char address_buffer[15];
|
||||||
uint8_t payload_size;
|
uint8_t payload_size = 0 ;
|
||||||
Timestamp timestamp_ { };
|
Timestamp timestamp_ { };
|
||||||
|
|
||||||
float parse_lat_str_cmp(const std::string& lat_str){
|
float parse_lat_str_cmp(const std::string& lat_str){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user