Skip to content

Commit 148dca4

Browse files
authored
Merge pull request #37 from cnbhl/fix/cleanup-template-format
fix: Remove trailing colons from board template
2 parents 6432289 + 763cb80 commit 148dca4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

examples/corecell/cups-ttn/board.conf.template

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#
1717
# NOTE: PG1302 requires 3.3V power jumper (not 5V) for Pi 4/5 compatibility!
1818
#
19-
WM1302:Seeed Studio WM1302 (SPI version):17:18:5:
20-
PG1302:Dragino PG1302 (requires 3.3V jumper on Pi 4/5):23:27:22:
21-
LR1302:Elecrow LR1302:17:18:5:
22-
SX1302_WS:Waveshare SX1302 LoRaWAN Gateway HAT:23:18:22:
23-
SEMTECH:Semtech CoreCell Reference Design:23:18:22:
19+
WM1302:Seeed Studio WM1302 (SPI version):17:18:5
20+
PG1302:Dragino PG1302 (requires 3.3V jumper on Pi 4/5):23:27:22
21+
LR1302:Elecrow LR1302:17:18:5
22+
SX1302_WS:Waveshare SX1302 LoRaWAN Gateway HAT:23:18:22
23+
SEMTECH:Semtech CoreCell Reference Design:23:18:22

lib/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ EOF
135135
local -a board_sx1261_pins=()
136136
local index=1
137137

138-
while IFS=: read -r btype bdesc breset bpower bsx1261 _; do
138+
while IFS=: read -r btype bdesc breset bpower bsx1261; do
139139
# Skip comments and empty lines
140140
[[ "$btype" =~ ^#.*$ || -z "$btype" ]] && continue
141141

lib/validation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ get_board_config() {
100100
return 1
101101
fi
102102

103-
while IFS=: read -r btype bdesc breset bpower bsx1261 _; do
103+
while IFS=: read -r btype bdesc breset bpower bsx1261; do
104104
# Skip comments and empty lines
105105
[[ "$btype" =~ ^#.*$ || -z "$btype" ]] && continue
106106
if [[ "$btype" == "$board" ]]; then

0 commit comments

Comments
 (0)