aboutsummaryrefslogtreecommitdiffstats
path: root/generate_debug_h.sh
diff options
context:
space:
mode:
authorPA4WDH2023-05-21 14:45:18 +0200
committerPA4WDH2023-05-21 14:45:18 +0200
commitf282d50f98c5b26afd69acdafd650a7e8fc570b4 (patch)
tree44de5e4130ac4f5ce937695cd95ebbfc4f126161 /generate_debug_h.sh
parentFix all .h files (diff)
downloadcputemp2maxfreq-f282d50f98c5b26afd69acdafd650a7e8fc570b4.tar.gz
cputemp2maxfreq-f282d50f98c5b26afd69acdafd650a7e8fc570b4.tar.bz2
cputemp2maxfreq-f282d50f98c5b26afd69acdafd650a7e8fc570b4.zip
Add argument parsing and validation
Diffstat (limited to 'generate_debug_h.sh')
-rwxr-xr-xgenerate_debug_h.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_debug_h.sh b/generate_debug_h.sh
index ee1f976..f32ac5c 100755
--- a/generate_debug_h.sh
+++ b/generate_debug_h.sh
@@ -5,7 +5,7 @@
# Configuration
DEBUG_LEVELS=4
-DEBUG_PARTS="MAIN SYSFS CPUFREQ"
+DEBUG_PARTS="MAIN ARGPARSE SYSFS CPUFREQ"
DEBUG_HELPER_DEF=`grep -o "void .*()" debug.c | head -n 1`
DEBUG_HELPER=${DEBUG_HELPER_DEF##* }
HEXDUMP_HELPER_DEF=`grep -o "void .*(unsigned char \*data,int len)" debug.c`