Fix sbi_console_getchar return value if no UART is present
The UART drivers all return -1 if no character is present, and so that's what we should do if there's no UART at all. See discussion on https://github.com/riscv-non-isa/riscv-sbi-doc/issues/82
parent
bc6e624f
Please register or sign in to comment