sx126x_driver icon indicating copy to clipboard operation
sx126x_driver copied to clipboard

Minor issue (typo)

Open 3s1d opened this issue 2 months ago • 0 comments

Hi,

I was glancing over your code and found a minor error:

	if( ( irqRegs & IRQ_RX_TX_TIMEOUT ) == IRQ_RX_TX_TIMEOUT ) {
		if (OperatingMode == MODE_TX) {
			HalPostTx();

			if (txTimeout)
				txTimeout();
		} else if (OperatingMode == MODE_TX) {
			HalPostRx();

			if (rxTimeout)
				rxTimeout();
		}
	}

I believe the 2nd MODE_TX should be MODE_RX.

Cheers, Juergen

3s1d avatar Oct 15 '25 12:10 3s1d