fix: make mcu ids verbose again for easier copy pasting into configs

This commit is contained in:
th33xitus
2021-01-08 20:02:18 +01:00
parent 33a9fef676
commit 2a29716bb9

View File

@@ -243,8 +243,6 @@ flash_mcu(){
### list all mcus
i=1
for mcu in ${mcu_list[@]}; do
### rewrite mcu to cut off everything except the important stuff
mcu=$(echo $mcu | rev | cut -d"/" -f1 | rev)
echo -e "$i) ${cyan}$mcu${default}"
i=$(expr $i + 1)
done
@@ -322,8 +320,6 @@ get_mcu_id(){
declare "mcu_id_$mcu_count"="$mcu"
mcu_id="mcu_id_$mcu_count"
mcu_list+=("${!mcu_id}")
### rewrite mcu to cut off everything except the important stuff
mcu=$(echo $mcu | rev | cut -d"/" -f1 | rev)
echo " ● MCU #$mcu_count: ${cyan}$mcu${default}"
mcu_count=$(expr $mcu_count + 1)
done