Added function setting in POCSAG TX

POCSAG TX: Max message length is now 30 (was 16 for no reason)
This commit is contained in:
furrtek 2017-09-23 04:53:42 +01:00
parent a6d2b766f4
commit 9acfdcbd41
7 changed files with 37 additions and 35 deletions

View file

@ -79,8 +79,7 @@ public:
}
void clear() {
for (uint32_t c = 0; c < 16; c++)
codewords[c] = 0;
codewords.fill(0);
bitrate_ = UNKNOWN;
flag_ = NORMAL;
}
@ -88,7 +87,7 @@ public:
private:
BitRate bitrate_ { UNKNOWN };
PacketFlag flag_ { NORMAL };
uint32_t codewords[16];
std::array <uint32_t, 16> codewords;
Timestamp timestamp_ { };
};