Fix Cppcheck warnings (#684)

This commit is contained in:
Olivier
2016-12-10 12:46:52 -08:00
committed by Bruce Lacey
parent 8e1ef13804
commit 37881d56ba
6 changed files with 18 additions and 14 deletions
+5
View File
@@ -111,6 +111,11 @@ public:
_promiscuousMode = false;
_powerLevel = 31;
_isRFM69HW = isRFM69HW;
_address = RF69_BROADCAST_ADDR;
#if defined (SPCR) && defined (SPSR)
_SPCR = 0;
_SPSR = 0;
#endif
}
bool initialize(uint8_t freqBand, uint8_t ID, uint8_t networkID=1); //!< initialize