Added missing initialisations

This commit is contained in:
GullCode 2021-01-27 16:07:03 +01:00
parent 19ebf14e8c
commit ec520bf08c
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_ { };
};