mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 10:09:25 -04:00
Add lots of value constructors.
This commit is contained in:
parent
cd31ae86d7
commit
4eb0facacb
54 changed files with 194 additions and 217 deletions
|
@ -122,13 +122,13 @@ private:
|
|||
|
||||
const PayloadHandlerFunc payload_handler;
|
||||
|
||||
BitHistory bit_history;
|
||||
PreambleMatcher preamble;
|
||||
UnstuffMatcher unstuff;
|
||||
EndMatcher end;
|
||||
BitHistory bit_history { };
|
||||
PreambleMatcher preamble { };
|
||||
UnstuffMatcher unstuff { };
|
||||
EndMatcher end { };
|
||||
|
||||
State state { State::Preamble };
|
||||
baseband::Packet packet;
|
||||
baseband::Packet packet { };
|
||||
|
||||
void reset_state() {
|
||||
packet.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue