kopia lustrzana https://github.com/jgromes/RadioLib
[SX127x] Fixed direction from HAL
rodzic
a21fb9f136
commit
43b9b13903
|
@ -453,7 +453,7 @@ void SX127x::clearDio1Action() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SX127x::setPacketReceivedAction(void (*func)(void)) {
|
void SX127x::setPacketReceivedAction(void (*func)(void)) {
|
||||||
this->setDio0Action(func, RISING);
|
this->setDio0Action(func, this->mod->hal->GpioInterruptRising);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SX127x::clearPacketReceivedAction() {
|
void SX127x::clearPacketReceivedAction() {
|
||||||
|
@ -461,7 +461,7 @@ void SX127x::clearPacketReceivedAction() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SX127x::setPacketSentAction(void (*func)(void)) {
|
void SX127x::setPacketSentAction(void (*func)(void)) {
|
||||||
this->setDio0Action(func, RISING);
|
this->setDio0Action(func, this->mod->hal->GpioInterruptRising);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SX127x::clearPacketSentAction() {
|
void SX127x::clearPacketSentAction() {
|
||||||
|
|
Ładowanie…
Reference in New Issue