From 9bd3608a2ad9565f7706c2fe29e93abf0976c3d4 Mon Sep 17 00:00:00 2001 From: Felix Rusu Date: Thu, 16 Apr 2020 09:57:48 -0400 Subject: [PATCH] promiscuous deprecated (pragma message) --- RFM69.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFM69.cpp b/RFM69.cpp index ac5e835..a97024c 100644 --- a/RFM69.cpp +++ b/RFM69.cpp @@ -516,7 +516,7 @@ void RFM69::spyMode(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); }