Skip to content

Commit

Permalink
Fixed full_example usage of rishka_vm_panic()
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Mar 6, 2024
1 parent 15ea04e commit 2374715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/full_example/full_example.ino
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void setup() {
if(!rishka_vm_loadfile(&vm, "/hello.bin"))
// If loading file fails, print error
// message and halt execution
rishka_panic("Failed to load specified file.", &vm);
rishka_vm_panic(&vm, "Failed to load specified file.");

// Run loaded program on Rishka virtual machine
rishka_vm_run(&vm, 0, NULL);
Expand Down

0 comments on commit 2374715

Please sign in to comment.