🐛 Flashing correct keymap

pull/1932/head
Louis Orleans 7 years ago
parent 76d7d9bf26
commit 3a67d20223

@ -43,7 +43,7 @@ module.exports.Build = Build;
async function Flash (keymap, board, right = false) { async function Flash (keymap, board, right = false) {
Echo(`Flashing ${right ? 'right' : 'left'}`); 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'}`, ''); Echo(`Flashed ${right ? 'right' : 'left'}`, '');
} }
module.exports.Flash = Flash; module.exports.Flash = Flash;

Loading…
Cancel
Save