[SX128x] Use 32-bit IRQ flags
This commit is contained in:
parent
bfb7c8dd3b
commit
8a4514703b
2 changed files with 2 additions and 2 deletions
|
@ -557,7 +557,7 @@ int16_t SX128x::startReceive() {
|
||||||
return(this->startReceive(RADIOLIB_SX128X_RX_TIMEOUT_INF, RADIOLIB_SX128X_IRQ_RX_DEFAULT, RADIOLIB_SX128X_IRQ_RX_DONE, 0));
|
return(this->startReceive(RADIOLIB_SX128X_RX_TIMEOUT_INF, RADIOLIB_SX128X_IRQ_RX_DEFAULT, RADIOLIB_SX128X_IRQ_RX_DONE, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t SX128x::startReceive(uint16_t timeout, uint16_t irqFlags, uint16_t irqMask, size_t len) {
|
int16_t SX128x::startReceive(uint16_t timeout, uint32_t irqFlags, uint32_t irqMask, size_t len) {
|
||||||
(void)len;
|
(void)len;
|
||||||
|
|
||||||
// check active modem
|
// check active modem
|
||||||
|
|
|
@ -551,7 +551,7 @@ class SX128x: public PhysicalLayer {
|
||||||
\param len Only for PhysicalLayer compatibility, not used.
|
\param len Only for PhysicalLayer compatibility, not used.
|
||||||
\returns \ref status_codes
|
\returns \ref status_codes
|
||||||
*/
|
*/
|
||||||
int16_t startReceive(uint16_t timeout, uint16_t irqFlags = RADIOLIB_SX128X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX128X_IRQ_RX_DONE, size_t len = 0);
|
int16_t startReceive(uint16_t timeout, uint32_t irqFlags = RADIOLIB_SX128X_IRQ_RX_DEFAULT, uint32_t irqMask = RADIOLIB_SX128X_IRQ_RX_DONE, size_t len = 0);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Reads the current IRQ status.
|
\brief Reads the current IRQ status.
|
||||||
|
|
Loading…
Add table
Reference in a new issue