From b595d14ad71196651677398470c735dc4f504d3e Mon Sep 17 00:00:00 2001 From: jgromes <jan.gromes@gmail.com> Date: Mon, 14 Jun 2021 21:20:16 +0200 Subject: [PATCH] [SX128x] Fixed warnings --- src/modules/SX128x/SX128x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {