kmk_firmware/util/reset.py
2019-07-24 23:03:13 -07:00

10 lines
122 B
Python

try:
import machine
machine.reset()
except ImportError:
import microcontroller
microcontroller.reset()