mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
allow 30 xdr mappings, scroll correctly
This commit is contained in:
1 parent
b311aabcfd
commit
3f3ae0be57
3 files changed
+448
-51
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#! /bin/sh
|
||||
i=0
|
||||
[ "$2" != "" ] && i=$2
|
||||
if [ "$1" = "" ] ; then
|
||||
echo "usage: $0 num [start]"
|
||||
exit 1
|
||||
fi
|
||||
num=$1
|
||||
|
||||
while [ $num -gt 0 ]
|
||||
do
|
||||
echo '{"name": "XDR'$i'","label": "XDR'$i'","type": "xdr","default": "", "check": "checkXDR","category":"xdr'$i'"},'
|
||||
num=`expr $num - 1`
|
||||
i=`expr $i + 1`
|
||||
done
|
||||
Reference in new issue
Block a user