aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPA4WDH2024-09-13 11:33:05 +0200
committerPA4WDH2024-09-13 11:33:05 +0200
commitbc708da2aed5d43b92179cd8bba200181bd8afca (patch)
tree5006063febe9fb3cbd151567fdf0382d67704c20
parentImprove assignment of default values (diff)
downloadcputemp2maxfreq-bc708da2aed5d43b92179cd8bba200181bd8afca.tar.gz
cputemp2maxfreq-bc708da2aed5d43b92179cd8bba200181bd8afca.tar.bz2
cputemp2maxfreq-bc708da2aed5d43b92179cd8bba200181bd8afca.zip
Small fixes in shell scripts
-rwxr-xr-xgenerate_debug_h.sh4
-rwxr-xr-xgenerate_version_h.sh1
2 files changed, 1 insertions, 4 deletions
diff --git a/generate_debug_h.sh b/generate_debug_h.sh
index 181b920..8a93930 100755
--- a/generate_debug_h.sh
+++ b/generate_debug_h.sh
@@ -109,9 +109,6 @@ do
echo " #define NEED_STDIO_H"
echo " #endif"
echo " #ifdef SET_DEBUG_PRINT_TIME"
-# echo " #ifdef NEED_DEBUG_HELPER"
-# echo " #undef NEED_DEBUG_HELPER"
-# echo " #endif"
echo " #ifndef NEED_DEBUG_HELPER"
echo " #define NEED_DEBUG_HELPER"
echo " #endif"
@@ -151,7 +148,6 @@ echo ""
echo "// Debug timestamps definition"
echo "#ifdef SET_DEBUG_PRINT_TIME"
-#echo "#define NEED_DEBUG_HELPER"
echo " #define DEBUG_PRINT_TIME $DEBUG_HELPER;"
echo "#else"
echo " #define DEBUG_PRINT_TIME"
diff --git a/generate_version_h.sh b/generate_version_h.sh
index cbf1a0a..3846c55 100755
--- a/generate_version_h.sh
+++ b/generate_version_h.sh
@@ -50,6 +50,7 @@ echo "#define VERSION \"$VERSION\""
echo "#define HASH \"$HASH\""
echo "#define BRANCH \"$BRANCH\""
echo "#define VERSION_FULL VERSION\"-\"HASH\" (\"BRANCH\")\""
+echo ""
echo "char* version();"
echo ""
echo "#endif"