Update MyTransportRFM69.cpp

defined in myconfig.h as RFM69_ENCRYPTKEY
This commit is contained in:
nicbrink
2015-09-02 21:33:53 -04:00
parent 22b5c924ea
commit f4ef926f02
+1 -1
View File
@@ -33,7 +33,7 @@ bool MyTransportRFM69::init() {
// Start up the radio library (_address will be set later by the MySensors library)
radio.initialize(_freqBand, _address, _networkId);
#ifdef RFM69_ENABLE_ENCRYPTION
radio.encrypt(ENCRYPTKEY);
radio.encrypt(RFM69_ENCRYPTKEY);
#endif
return true;
}