Update femto-config

This commit is contained in:
nagumii 2024-12-31 22:51:17 +02:00
parent e107c4d077
commit 195df31030

View file

@ -91,8 +91,8 @@ femto_pinouts() {
1 "Femtofox" \
2 "Femtofox Zero" \
3 "Femtofox Tiny" \
4 "Luckfox" \
5 "Back to Main Menu" 3>&1 1>&2 2>&3)
4 "Luckfox Pico Mini" \
5 "Back to Misc Settings" 3>&1 1>&2 2>&3)
exit_status=$? # This line checks the exit status of the dialog command
@ -101,10 +101,10 @@ femto_pinouts() {
fi
case $option in
1) dialog --title "$title" --msgbox "$(femto-pinout.sh -f)" 38 70 ;;
2) dialog --title "$title" --msgbox "$(femto-pinout.sh -z)" 38 70 ;;
3) dialog --title "$title" --msgbox "$(femto-pinout.sh -t)" 38 70 ;;
4) dialog --title "$title" --msgbox "$(femto-pinout.sh -l)" 23 63 ;;
1) dialog --title "Femtofox" --msgbox "$(femto-pinout.sh -f)" 38 70 ;;
2) dialog --title "Femtofox Zero" --msgbox "$(femto-pinout.sh -z)" 38 70 ;;
3) dialog --title "Femtofox Tiny" --msgbox "$(femto-pinout.sh -t)" 38 70 ;;
4) dialog --title "Luckfox Pico Mini" --msgbox "$(femto-pinout.sh -l)" 23 63 ;;
5) return ;;
*) echo "Invalid option selected!" ;;
esac
@ -270,9 +270,9 @@ meshtasticd_settings() {
while true; do
local option=""
option=$(dialog --menu "$title" 19 50 4 \
1 "Get current configuration URL & QR code" \
1 "View current configuration URL & QR code" \
2 "Set new configuration URL" \
3 "Get current lora radio selection" \
3 "View current lora radio selection" \
4 "Set LoRa radio" \
5 "View current admin keys" \
6 "Set admin key" \