diff --git a/src/TypeDef.h b/src/TypeDef.h index 17ff288e..de6e06b6 100644 --- a/src/TypeDef.h +++ b/src/TypeDef.h @@ -616,9 +616,10 @@ typedef unsigned long RadioLibTime_t; /*! - \brief Type used for radio-agnostic IRQ flags. + \brief Type used for radio-agnostic IRQ flags. IRQ to enable corresponds to the bit index (RadioLibIrq_t). + For example, if bit 0 is set, the module will enable its RADIOLIB_IRQ_TX_DONE (if it is supported). */ -typedef uint8_t RadioIrqFlags_t; +typedef uint32_t RadioLibIrqFlags_t; /*! \}