From 11ab4509cb0d78af2e28982df8b4395b5bbc6e19 Mon Sep 17 00:00:00 2001 From: Teja Date: Mon, 31 Aug 2015 18:47:24 +0200 Subject: [PATCH] moved grbl binary to a non-machine-specific name --- grbl.junior.hex => grbl.hex | 0 src/octoprint/util/comm_acc.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename grbl.junior.hex => grbl.hex (100%) diff --git a/grbl.junior.hex b/grbl.hex similarity index 100% rename from grbl.junior.hex rename to grbl.hex diff --git a/src/octoprint/util/comm_acc.py b/src/octoprint/util/comm_acc.py index 9fe5f915..947c254b 100644 --- a/src/octoprint/util/comm_acc.py +++ b/src/octoprint/util/comm_acc.py @@ -866,7 +866,7 @@ class MachineCom(object): self._changeState(self.STATE_FLASHING) self._serial.close() import subprocess - params = ["avrdude", "-patmega328p", "-carduino", "-b" + str(self._baudrate), "-P" + str(self._port), "-D", "-Uflash:w:grbl.junior.hex"] + params = ["avrdude", "-patmega328p", "-carduino", "-b" + str(self._baudrate), "-P" + str(self._port), "-D", "-Uflash:w:grbl.hex"] returnCode = subprocess.call(params) if returnCode == False: self._log("successfully flashed new grbl version")