modbus: do not loop in UART IRQ handler
On some platforms, if there are multiple MODBUS interfaces,
receiving of RTU frames may fail. Replacing while loop with
just "if" fixes this problem.
Signed-off-by:
Johann Fischer <johann.fischer@nordicsemi.no>
Loading
Please sign in to comment