kaleidoscope-builder: Do not reset the device if NO_RESET is set

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/328/head
Gergely Nagy 7 years ago
parent 7a4f0bac85
commit c65a1b89bf

@ -58,7 +58,9 @@ find_device_port() {
}
reset_device_cmd() {
stty -F ${DEVICE_PORT} 1200 hupcl
if [ -z ${NO_RESET} ]; then
stty -F ${DEVICE_PORT} 1200 hupcl
fi
}
find_bootloader_ports() {

Loading…
Cancel
Save