[PHY] Added missing zero inits
This commit is contained in:
parent
525fdfb1a0
commit
99bb025173
1 changed files with 9 additions and 9 deletions
|
@ -529,15 +529,15 @@ class PhysicalLayer {
|
||||||
size_t maxPacketLength;
|
size_t maxPacketLength;
|
||||||
|
|
||||||
#if !RADIOLIB_EXCLUDE_DIRECT_RECEIVE
|
#if !RADIOLIB_EXCLUDE_DIRECT_RECEIVE
|
||||||
uint8_t bufferBitPos;
|
uint8_t bufferBitPos = 0;
|
||||||
uint8_t bufferWritePos;
|
uint8_t bufferWritePos = 0;
|
||||||
uint8_t bufferReadPos;
|
uint8_t bufferReadPos = 0;
|
||||||
uint8_t buffer[RADIOLIB_STATIC_ARRAY_SIZE];
|
uint8_t buffer[RADIOLIB_STATIC_ARRAY_SIZE] = { 0 };
|
||||||
uint32_t syncBuffer;
|
uint32_t syncBuffer = 0;
|
||||||
uint32_t directSyncWord;
|
uint32_t directSyncWord = 0;
|
||||||
uint8_t directSyncWordLen;
|
uint8_t directSyncWordLen = 0;
|
||||||
uint32_t directSyncWordMask;
|
uint32_t directSyncWordMask = 0;
|
||||||
bool gotSync;
|
bool gotSync = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
virtual Module* getMod() = 0;
|
virtual Module* getMod() = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue