fix(config): Fix split wired detection in setup.sh.

This commit is contained in:
Peter Johanson 2022-12-11 10:25:09 -05:00 committed by Pete Johanson
parent 617136b45e
commit f03e29ca13
1 changed files with 2 additions and 1 deletions

View File

@ -136,12 +136,13 @@ if [ "$keyboard_shield" == "y" ]; then
continue continue
fi fi
board_index=$(( $REPLY-1 ))
if [ -n "${!keyboard_sibling_first}" ] && [ "${boards_usb_only[$board_index]}" = "y" ] ; then if [ -n "${!keyboard_sibling_first}" ] && [ "${boards_usb_only[$board_index]}" = "y" ] ; then
echo "Wired split is not yet supported by ZMK." echo "Wired split is not yet supported by ZMK."
exit 1 exit 1
fi fi
board_index=$(( $REPLY-1 ))
board=${board_ids[$board_index]} board=${board_ids[$board_index]}
board_title=${options[$board_index]} board_title=${options[$board_index]}
boards=( "${board}" ) boards=( "${board}" )