From 20984452020e55f15b99f473cef3eeedeee11d92 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Mon, 9 Dec 2024 15:54:15 +0100 Subject: [PATCH] firmware - fix typo , defines should be at the right place :) --- Arduino/CanGrow/CanGrow.ino | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index c9f55b5..95e2a32 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -3,6 +3,15 @@ * */ + +// set CANGROW_VER and CANGROW_BUILD if not already done as Compiler Flag +#ifndef CANGROW_VER + #define CANGROW_VER "v0.1.0-dev" +#endif +#ifndef CANGROW_BUILD + #define CANGROW_BUILD "1a2b3c4f" +#endif + /* * Includes * @@ -56,14 +65,6 @@ #include "CanGrow_SysFunctions.h" #include "CanGrow_WebFunctions.h" -// set CANGROW_VER and CANGROW_BUILD if not already done as Compiler Flag -#ifndef CANGROW_VER - #define CANGROW_VER "v0.1.0-dev" -#endif -#ifndef CANGROW_BUILD - #define CANGROW_BUILD "1a2b3c4f" -#endif - /*