fix(setup): Fix index to MakerDiary m.2 board

This commit is contained in:
y4m4ym 2021-02-04 05:10:47 +01:00 committed by GitHub
parent 9a7908b632
commit 9205ea1c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ select opt in "${options[@]}" "Quit"; do
1 ) board="nice_nano"; break;; 1 ) board="nice_nano"; break;;
2 ) board="proton_c"; break;; 2 ) board="proton_c"; break;;
3 ) board="bluemicro840_v1"; break;; 3 ) board="bluemicro840_v1"; break;;
3 ) board="nrf52840_m2"; break;; 4 ) board="nrf52840_m2"; break;;
$(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;; $(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;;
*) echo "Invalid option. Try another one."; continue;; *) echo "Invalid option. Try another one."; continue;;