From e4fcd23f766a128f0538b1be19b840c278f36db7 Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 14 Jun 2021 21:20:12 +0200 Subject: [PATCH] [nRF24] Fixed warnings --- src/modules/nRF24/nRF24.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/nRF24/nRF24.cpp b/src/modules/nRF24/nRF24.cpp index 30c46ba0..9a6a6e9e 100644 --- a/src/modules/nRF24/nRF24.cpp +++ b/src/modules/nRF24/nRF24.cpp @@ -514,13 +514,13 @@ uint8_t nRF24::random() { void nRF24::setDirectAction(void (*func)(void)) { // nRF24 is unable to perform direct mode actions // this method is implemented only for PhysicalLayer compatibility - return(0); + (void)func; } void nRF24::readBit(RADIOLIB_PIN_TYPE pin) { // nRF24 is unable to perform direct mode actions // this method is implemented only for PhysicalLayer compatibility - return(0); + (void)pin; } void nRF24::clearIRQ() {