Skip to content

Commit

Permalink
[PX4: WIP] Fix transmission status handling in the serial interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
janokle authored and PX4 Jenkins committed Jul 31, 2018
1 parent c55a5d9 commit 061c9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/src/kinetis/kinetis_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ static int up_interrupts(int irq, void *context, FAR void *arg)
* the TX data register.
*/

if ((s1 & UART_S1_TDRE) != 0)
if ((s1 & UART_S1_TDRE) != 0 && (priv->ie & UART_C2_TIE) != 0)
#endif
{
/* Process outgoing bytes */
Expand Down

0 comments on commit 061c9bf

Please sign in to comment.