mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 07:14:22 +08:00
disable dfu.py
This commit is contained in:
@@ -14,6 +14,9 @@ import usb.core
|
||||
import usb.util
|
||||
import odrive.core
|
||||
|
||||
print("The DFU script had to be disabled because of it potentially breaking the board.")
|
||||
sys.exit(1)
|
||||
|
||||
# We are interactively printing status messages, so flush by default
|
||||
import functools
|
||||
print = functools.partial(print, flush=True)
|
||||
|
||||
Reference in New Issue
Block a user