diff --git a/src/modules/SX128x/SX128x.cpp b/src/modules/SX128x/SX128x.cpp index 95f3ca23..7591cdcc 100644 --- a/src/modules/SX128x/SX128x.cpp +++ b/src/modules/SX128x/SX128x.cpp @@ -1155,13 +1155,13 @@ uint8_t SX128x::random() { void SX128x::setDirectAction(void (*func)(void)) { // SX128x is unable to perform direct mode reception // this method is implemented only for PhysicalLayer compatibility - return(0); + (void)func; } void SX128x::readBit(RADIOLIB_PIN_TYPE pin) { // SX128x is unable to perform direct mode reception // this method is implemented only for PhysicalLayer compatibility - return(0); + (void)pin; } uint8_t SX128x::getStatus() {