jgromes/RadioLib

[SX127x] IRQ mask handling uses the wrong DIO register

Closed this issue · 0 comments

38fc7a9 checks the DIO mapping for collisions. Compared to the code before, the assignment in line 1403 swaps RADIOLIB_SX127X_REG_DIO_MAPPING_1 for RADIOLIB_SX127X_REG_DIO_MAPPING_2 and vice versa. Mapping_1 is used for DIO4 now and Mapping_2 for DIO0-3