From 3a67d2022345a1d7c8065da94358999184a22939 Mon Sep 17 00:00:00 2001 From: Louis Orleans Date: Sun, 10 Sep 2017 21:46:39 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Flashing=20correct=20keymap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flasher/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flasher/commands.js b/flasher/commands.js index 6292e5e647..f51a93f2ec 100644 --- a/flasher/commands.js +++ b/flasher/commands.js @@ -43,7 +43,7 @@ module.exports.Build = Build; async function Flash (keymap, board, right = false) { Echo(`Flashing ${right ? 'right' : 'left'}`); - await Exec(`dfu-util --device ${board.id} --path ${board.path} -D .build/ergodox_infinity_default.bin`); + await Exec(`dfu-util --device ${board.id} --path ${board.path} -D .build/ergodox_infinity_${keymap}.bin`); Echo(`Flashed ${right ? 'right' : 'left'}`, ''); } module.exports.Flash = Flash;