[SX127x] Fixed direction from HAL
This commit is contained in:
parent
a21fb9f136
commit
43b9b13903
1 changed files with 2 additions and 2 deletions
|
@ -453,7 +453,7 @@ void SX127x::clearDio1Action() {
|
|||
}
|
||||
|
||||
void SX127x::setPacketReceivedAction(void (*func)(void)) {
|
||||
this->setDio0Action(func, RISING);
|
||||
this->setDio0Action(func, this->mod->hal->GpioInterruptRising);
|
||||
}
|
||||
|
||||
void SX127x::clearPacketReceivedAction() {
|
||||
|
@ -461,7 +461,7 @@ void SX127x::clearPacketReceivedAction() {
|
|||
}
|
||||
|
||||
void SX127x::setPacketSentAction(void (*func)(void)) {
|
||||
this->setDio0Action(func, RISING);
|
||||
this->setDio0Action(func, this->mod->hal->GpioInterruptRising);
|
||||
}
|
||||
|
||||
void SX127x::clearPacketSentAction() {
|
||||
|
|
Loading…
Add table
Reference in a new issue