Skip to content
Snippets Groups Projects
Verified Commit 52d08f04 authored by dos's avatar dos
Browse files

sim: fakes: machine: Actually reboot

parent a28ad5fc
Branches
No related tags found
No related merge requests found
import os
import sys import sys
...@@ -32,7 +33,7 @@ class I2C: ...@@ -32,7 +33,7 @@ class I2C:
def reset(): def reset():
print("beep boop i have reset") print("beep boop i have reset")
sys.exit(0) os.execv(sys.executable, ["python"] + sys.argv)
def disk_mode_flash(): def disk_mode_flash():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment