1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-12 13:33:06 +01:00

allow 30 xdr mappings, scroll correctly

This commit is contained in:
wellenvogel
2021-11-22 22:00:30 +01:00
parent b311aabcfd
commit 3f3ae0be57
3 changed files with 448 additions and 51 deletions

15
tools/genXdrCfg.sh Executable file
View File

@@ -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