diff --git a/package.json b/package.json index 4ae7070..259eec4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "SpeedyLoader", - "version": "1.4.0", + "version": "1.4.1", "description": "Speeduino universal firmware loader", "main": "main.js", "scripts": { diff --git a/renderer.js b/renderer.js index 29c6189..0c21389 100644 --- a/renderer.js +++ b/renderer.js @@ -238,7 +238,9 @@ function downloadHex(isTeensy) var DLurl; if(isTeensy) { - DLurl = "http://speeduino.com/fw/teensy35/" + e.options[e.selectedIndex].value + ".hex"; + if(e.options[e.selectedIndex].value == 'master') { DLurl = "http://speeduino.com/fw/teensy35/" + e.options[e.selectedIndex].value + ".hex"; } + else { DLurl = "http://speeduino.com/fw/teensy35/" + e.options[e.selectedIndex].value + "-teensy35.hex"; } + console.log("Downloading Teensy 35 firmware: " + DLurl); } else