[SX127x] Fixed pin type
This commit is contained in:
parent
c8be880f95
commit
aa53706b31
2 changed files with 2 additions and 2 deletions
|
@ -1300,7 +1300,7 @@ void SX127x::setDirectAction(void (*func)(void)) {
|
|||
setDio1Action(func);
|
||||
}
|
||||
|
||||
void SX127x::readBit(uint8_t pin) {
|
||||
void SX127x::readBit(RADIOLIB_PIN_TYPE pin) {
|
||||
updateDirectBuffer((uint8_t)digitalRead(pin));
|
||||
}
|
||||
|
||||
|
|
|
@ -1038,7 +1038,7 @@ class SX127x: public PhysicalLayer {
|
|||
|
||||
\param pin Pin on which to read.
|
||||
*/
|
||||
void readBit(uint8_t pin);
|
||||
void readBit(RADIOLIB_PIN_TYPE pin);
|
||||
|
||||
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||
protected:
|
||||
|
|
Loading…
Add table
Reference in a new issue