From bc708da2aed5d43b92179cd8bba200181bd8afca Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Fri, 13 Sep 2024 11:33:05 +0200 Subject: Small fixes in shell scripts --- generate_debug_h.sh | 4 ---- generate_version_h.sh | 1 + 2 files changed, 1 insertion(+), 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" -- cgit v1.2.3