summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64/ppc64-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppc64/ppc64-uart.c')
-rw-r--r--src/ppc64/ppc64-uart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ppc64/ppc64-uart.c b/src/ppc64/ppc64-uart.c
index c16657d..b3b5717 100644
--- a/src/ppc64/ppc64-uart.c
+++ b/src/ppc64/ppc64-uart.c
@@ -20,7 +20,8 @@ volatile ascii_char_t* const UART0DR = (ascii_char_t*) CB_NS16550_COM1;
/// @param
/// @return
utf_char_t cb_get_char(void) {
- while (!(*(((volatile uint8_t*) UART0DR) + 0x05) & 0x01));
+ while (!(*(((volatile uint8_t*) UART0DR) + 0x05) & 0x01))
+ ;
return (utf_char_t) *UART0DR;
}