update commit

This commit is contained in:
9cb14c1ec0 2024-05-04 07:11:35 -04:00
parent 0da6a9f86e
commit 5153d081d3

View file

@ -747,10 +747,8 @@ class DA_handler(metaclass=LogBase):
elif cmd == "reset":
if os.path.exists(".state"):
os.remove(".state")
try:
if os.path.exists(os.path.join("logs", "hwparam.json")):
os.remove(os.path.join("logs", "hwparam.json"))
except FileNotFoundError:
pass
mtk.daloader.shutdown(bootmode=0)
print("Reset command was sent. Disconnect usb cable to power off.")
elif cmd == "da":