mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
fix(config): Fix split wired detection in setup.sh.
This commit is contained in:
committed by
Pete Johanson
parent
617136b45e
commit
f03e29ca13
@@ -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}" )
|
||||||
|
|||||||
Reference in New Issue
Block a user