[SX126x] Fixed warnings
This commit is contained in:
parent
b595d14ad7
commit
450a46af84
1 changed files with 2 additions and 2 deletions
|
@ -1216,13 +1216,13 @@ uint8_t SX126x::random() {
|
||||||
void SX126x::setDirectAction(void (*func)(void)) {
|
void SX126x::setDirectAction(void (*func)(void)) {
|
||||||
// SX126x is unable to perform direct mode reception
|
// SX126x is unable to perform direct mode reception
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
return(0);
|
(void)func;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SX126x::readBit(RADIOLIB_PIN_TYPE pin) {
|
void SX126x::readBit(RADIOLIB_PIN_TYPE pin) {
|
||||||
// SX126x is unable to perform direct mode reception
|
// SX126x is unable to perform direct mode reception
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
return(0);
|
(void)pin;
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
|
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue