promiscuous deprecated (pragma message)

This commit is contained in:
Felix Rusu 2020-04-16 09:57:48 -04:00
parent dc5d2f85cf
commit 9bd3608a2a
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ void RFM69::spyMode(bool onOff) {
} }
void RFM69::promiscuous(bool onOff) { void RFM69::promiscuous(bool onOff) {
Serial.println("\nRFM69::promiscuous(bool): DEPRECATED, use spyMode(bool) instead!\n"); #pragma message ("\nRFM69::promiscuous(bool): DEPRECATED, use spyMode(bool) instead!\n")
spyMode(onOff); spyMode(onOff);
} }