comparison LoadFile/load.dfu @ 297:c86eb7d0a693

Fixing releasing Function key and holding layered key - Pressed key will remain on the same layer until released regardless of the layer changes that happen in the meantime
author Jacob Alexander <haata@kiibohd.com>
date Sun, 01 Mar 2015 21:04:33 -0800
parents 71882cd1c362
children 99f93dec8fea
comparison
equal deleted inserted replaced
296:413c6b2b21d0 297:c86eb7d0a693
47 # If a SERIAL_PORT was specified set the uC into reflash mode 47 # If a SERIAL_PORT was specified set the uC into reflash mode
48 # XXX May not be successful if uC is not in a good state (or does not allow remote flashing) 48 # XXX May not be successful if uC is not in a good state (or does not allow remote flashing)
49 if [[ "$SERIAL_PORT" != "" ]] && [[ -e "$SERIAL_PORT" ]]; then 49 if [[ "$SERIAL_PORT" != "" ]] && [[ -e "$SERIAL_PORT" ]]; then
50 echo "NOTE: This may fail if the uC is in a bad state or does not support remote flashing" 50 echo "NOTE: This may fail if the uC is in a bad state or does not support remote flashing"
51 printf "reload\r" > $SERIAL_PORT 51 printf "reload\r" > $SERIAL_PORT
52 sleep 1 52 sleep 2
53 fi 53 fi
54 54
55 # Load via dfu-util 55 # Load via dfu-util
56 # Used for McHCK based uCs 56 # Used for McHCK based uCs
57 if type dfu-util &>/dev/null; then 57 if type dfu-util &>/dev/null; then