mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Back out another error introduced with commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in up_lowputc().
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user