[SX126x] Fixed warnings

This commit is contained in:
jgromes 2021-06-14 21:20:21 +02:00
parent b595d14ad7
commit 450a46af84

View file

@ -1216,13 +1216,13 @@ uint8_t SX126x::random() {
void SX126x::setDirectAction(void (*func)(void)) {
// SX126x is unable to perform direct mode reception
// this method is implemented only for PhysicalLayer compatibility
return(0);
(void)func;
}
void SX126x::readBit(RADIOLIB_PIN_TYPE pin) {
// SX126x is unable to perform direct mode reception
// this method is implemented only for PhysicalLayer compatibility
return(0);
(void)pin;
}
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {