Update MyTransportRFM69.cpp
defined in myconfig.h as RFM69_ENCRYPTKEY
This commit is contained in:
@@ -33,7 +33,7 @@ bool MyTransportRFM69::init() {
|
|||||||
// Start up the radio library (_address will be set later by the MySensors library)
|
// Start up the radio library (_address will be set later by the MySensors library)
|
||||||
radio.initialize(_freqBand, _address, _networkId);
|
radio.initialize(_freqBand, _address, _networkId);
|
||||||
#ifdef RFM69_ENABLE_ENCRYPTION
|
#ifdef RFM69_ENABLE_ENCRYPTION
|
||||||
radio.encrypt(ENCRYPTKEY);
|
radio.encrypt(RFM69_ENCRYPTKEY);
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user