mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Fix putc()
This commit is contained in:
parent
ee2ba56423
commit
41a94d0629
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ static uint32_t syscall(uint32_t id, uint32_t param) {
|
||||||
#define printdec(x) syscall_cast(UVM32_SYSCALL_PRINTDEC, x)
|
#define printdec(x) syscall_cast(UVM32_SYSCALL_PRINTDEC, x)
|
||||||
#define printhex(x) syscall_cast(UVM32_SYSCALL_PRINTHEX, x)
|
#define printhex(x) syscall_cast(UVM32_SYSCALL_PRINTHEX, x)
|
||||||
#define millis() syscall_cast(UVM32_SYSCALL_MILLIS, 0)
|
#define millis() syscall_cast(UVM32_SYSCALL_MILLIS, 0)
|
||||||
#define putc() syscall_cast(UVM32_SYSCALL_PUTC, 0)
|
#define putc(x) syscall_cast(UVM32_SYSCALL_PUTC, x)
|
||||||
#define getc() syscall_cast(UVM32_SYSCALL_GETC, 0)
|
#define getc() syscall_cast(UVM32_SYSCALL_GETC, 0)
|
||||||
#define yield() syscall_cast(UVM32_SYSCALL_YIELD, 0)
|
#define yield() syscall_cast(UVM32_SYSCALL_YIELD, 0)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue