[nRF24] Fixed warnings
This commit is contained in:
parent
83121c1518
commit
e4fcd23f76
1 changed files with 2 additions and 2 deletions
|
@ -514,13 +514,13 @@ uint8_t nRF24::random() {
|
||||||
void nRF24::setDirectAction(void (*func)(void)) {
|
void nRF24::setDirectAction(void (*func)(void)) {
|
||||||
// nRF24 is unable to perform direct mode actions
|
// nRF24 is unable to perform direct mode actions
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
return(0);
|
(void)func;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nRF24::readBit(RADIOLIB_PIN_TYPE pin) {
|
void nRF24::readBit(RADIOLIB_PIN_TYPE pin) {
|
||||||
// nRF24 is unable to perform direct mode actions
|
// nRF24 is unable to perform direct mode actions
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
return(0);
|
(void)pin;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nRF24::clearIRQ() {
|
void nRF24::clearIRQ() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue