Skip to content

Commit

Permalink
Ändern des FW_Version Strings
Browse files Browse the repository at this point in the history
  • Loading branch information
shining-man committed Jul 6, 2024
1 parent 8639b9b commit ea2dff3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions include/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
#include "params_dt.h"
#include "bscTime.h"

#define BSC_SW_VERSION "V0.6.0"

#define FW_T1 0
#define FW_T2 6
#define FW_T3 1

#define BSC_SW_VERSION TOSTRING(V##FW_T1.FW_T2.FW_T3)


static const char COMPILE_DATE_TIME[] = "";

Expand Down Expand Up @@ -713,4 +719,7 @@ static const char* mqttTopics[] = {"", // 0


#define isBitSet(byte,bit) (((byte & (1 << bit)) != 0) ? 1 : 0)
#define ROUND(a, b) ( (a)/(b) + (((a)%(b) >= (b)/2)?1:0))
#define ROUND(a, b) ( (a)/(b) + (((a)%(b) >= (b)/2)?1:0))

#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)

0 comments on commit ea2dff3

Please # to comment.