Commit 0d3339c7 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment