From f56f69fadcb440e7f16df3c20c59efa3ed3654e1 Mon Sep 17 00:00:00 2001 From: jake-g00dwin Date: Sun, 21 Dec 2025 19:43:27 -0800 Subject: [PATCH] fixed call to tag generation function. --- otto.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/otto.sh b/otto.sh index 36580cd..a49103a 100755 --- a/otto.sh +++ b/otto.sh @@ -11,6 +11,10 @@ MODULE_DIR="${TEMPLATE_FILES}/modules" CHIP="ch32v003" generate_tags_file () { + echo "generate_tags_file()" + # Saving current directory + #CUR_DIR=$(pwd) + uctags --recurse=yes \ --languages=C,C++,Asm \ --extras=+q \ @@ -19,7 +23,7 @@ generate_tags_file () { --exclude=build \ --exclude=.git \ --exclude=.template_files \ - . + ./ } format_source_code () { @@ -287,7 +291,7 @@ flash_microcontroller () { } run_c_tests () { - generate_tags_file() + generate_tags_file format_source_code clear_cmake_cache cmake -DUNIT_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../