Merge pull request #284 from GullCode/proc_pocsag_warning_fix

Added missing initialisations
This commit is contained in:
Erwin Ried
2021-01-28 00:23:10 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ private:
bool configured = false;
rx_states rx_state { WAITING };
pocsag::BitRate bitrate { pocsag::BitRate::FSK1200 };
bool phase;
bool phase = false ;
uint32_t codeword_count { 0 };
pocsag::POCSAGPacket packet { };

View File

@@ -87,7 +87,7 @@ public:
private:
BitRate bitrate_ { UNKNOWN };
PacketFlag flag_ { NORMAL };
std::array <uint32_t, 16> codewords;
std::array <uint32_t, 16> codewords { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 };
Timestamp timestamp_ { };
};