diff options
| author | Amlal <amlal@nekernel.org> | 2025-08-09 19:56:10 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-08-09 19:56:10 +0200 |
| commit | 6318c40aa018427322b8f14eb4059c4df985c0d7 (patch) | |
| tree | 38980ef6bae40bd5dd42f1d9587e1524cb69a4cd /src/ppc64 | |
| parent | 064fccb77255dca78a0bb6c0b017ed8271dc5131 (diff) | |
feat: ran format command
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'src/ppc64')
| -rw-r--r-- | src/ppc64/ppc64-uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ppc64/ppc64-uart.c b/src/ppc64/ppc64-uart.c index 9830342..a26a806 100644 --- a/src/ppc64/ppc64-uart.c +++ b/src/ppc64/ppc64-uart.c @@ -20,8 +20,7 @@ volatile ascii_char_t* const UART0DR = (ascii_char_t*) NB_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;
}
|
