mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 23:52:58 +00:00
Back out another error introduced with commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in up_lowputc().
This commit is contained in:
parent
0f19a33b3d
commit
52803ee23b
1 changed files with 2 additions and 0 deletions
|
|
@ -226,6 +226,8 @@ void up_lowputc(char ch)
|
|||
/* Send the character */
|
||||
|
||||
putreg32((uint32_t)ch, SAM_CONSOLE_BASE + SAM_UART_THR_OFFSET);
|
||||
irqrestore(flags);
|
||||
return;
|
||||
}
|
||||
|
||||
irqrestore(flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue