diff --git a/cangrow.sh b/cangrow.sh index 73a3eeb..741d4a9 100755 --- a/cangrow.sh +++ b/cangrow.sh @@ -74,11 +74,6 @@ case $1 in check_acli echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/" test -d build || mkdir build - echo "/* CanGrow_Version.h gets generated from cangrow.sh */ - -const char* CanGrowVer = \"${VER}\"; -const char* CanGrowBuild = \"${BUILD}\"; -" > Arduino/CanGrow/CanGrow_Version.h ${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" --output-dir build/ || exit 1 cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin ;;