mirror of
https://github.com/PiMaker/rvc.git
synced 2024-11-21 19:40:08 +00:00
update rust_payload
This commit is contained in:
parent
b11654cbc9
commit
21eaf258c1
@ -45,12 +45,12 @@ fn print_hex_part(u: u8) {
|
||||
7 => print("7"),
|
||||
8 => print("8"),
|
||||
9 => print("9"),
|
||||
10 => print("A"),
|
||||
11 => print("B"),
|
||||
12 => print("C"),
|
||||
13 => print("D"),
|
||||
14 => print("E"),
|
||||
15 => print("F"),
|
||||
10 => print("a"),
|
||||
11 => print("b"),
|
||||
12 => print("c"),
|
||||
13 => print("d"),
|
||||
14 => print("e"),
|
||||
15 => print("f"),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
@ -38,7 +38,10 @@ pub fn main() -> ! {
|
||||
print_usize(register::time::read());
|
||||
print("\n");
|
||||
|
||||
println("Tests done, entering infinite loop!");
|
||||
println("Exiting via 'tohost' ecall...");
|
||||
ecall(93 /* tohost */, 0 /* exit code */, 0, 0);
|
||||
|
||||
println("ecall failed (?), entering infinite loop!");
|
||||
loop {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user