From 535959b325c1d3489672f03a5877e843f87c6109 Mon Sep 17 00:00:00 2001 From: James Townley Date: Thu, 3 Mar 2016 15:10:04 -0600 Subject: [PATCH] swapped u to d --- src/firmware/firmware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firmware/firmware.py b/src/firmware/firmware.py index 01b783c..072aa8a 100644 --- a/src/firmware/firmware.py +++ b/src/firmware/firmware.py @@ -132,7 +132,7 @@ def dfu_bin(self): def update(self, firmware_path): process = Popen([ self.dfu_bin, - '-c', '-u', '--fn', firmware_path], stdout=PIPE, stderr=PIPE) + '-c', '-d', '--fn', firmware_path], stdout=PIPE, stderr=PIPE) (out, err) = process.communicate() exit_code = process.wait() if exit_code != 0: