[SX127x] Fixed direction from HAL

This commit is contained in:
jgromes 2023-06-21 22:13:54 +02:00
parent a21fb9f136
commit 43b9b13903

View file

@ -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() {