Skip to content
Commit 56ebbb46 authored by Marius Scholtz's avatar Marius Scholtz Committed by Anas Nashif
Browse files

drivers: serial: atmel_sam: Fix api to work with modbus



This patch adds fixes to the api so that it behaves as expected.
1 - The irq_tx_ready now only returns true if the tx interrupt is
enabled.
2 - The irq_tx_complete now functions as expected and returns true
only once all characters have been transmitted

Signed-off-by: default avatarMarius Scholtz <mariuss@ricelectronics.com>
parent 5a1129f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment