mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Back out an error introduced with commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in up_lowputc(). From Max Neklyudov.
This commit is contained in:
parent
e615c848fe
commit
48dbc5c72b
1 changed files with 2 additions and 0 deletions
|
|
@ -299,6 +299,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