From 418309ba119a82177a966554a0e7e977df9fd8e2 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 8 Feb 2017 14:51:30 -0800 Subject: [PATCH] split out flashing with an external programmer to its own function --- tools/keyboardio-builder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/keyboardio-builder b/tools/keyboardio-builder index 761a749e..ea04ab7f 100755 --- a/tools/keyboardio-builder +++ b/tools/keyboardio-builder @@ -80,6 +80,10 @@ program () { echo "Press ENTER when ready..." read a + flash_with_programmer() +} + +flash_with_programmer() { avrdude -v \ -p${MCU} \