From 70a86c7d5701e3cc6aebf5adec4602cf32a6e360 Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Tue, 24 Apr 2018 13:16:38 -0700 Subject: [PATCH] disable dfu.py --- tools/dfu.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/dfu.py b/tools/dfu.py index 7ad27bf8..8a890507 100755 --- a/tools/dfu.py +++ b/tools/dfu.py @@ -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)