aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/util.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2022-10-30 12:40:53 +0100
committerUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2022-10-30 12:40:53 +0100
commit26564caa92d02a85a23fcd768a301fc76ec7c4cd (patch)
treef0c3845ee79a3c29d0b8a8c4cb2d3caaeb1efb5d /stm32f091/util.h
parent6b2ff1c137773b91ce9552446a7ac91dd951b02b (diff)
parent75064a08587bc960c06d2324a0334ee88441fb35 (diff)
Merge branch 'qt-settings' of https://github.com/UnavailableDev/avans-whether-station-Qt into qt-settings
Diffstat (limited to 'stm32f091/util.h')
-rw-r--r--stm32f091/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm32f091/util.h b/stm32f091/util.h
index 11bee6f..9c15f8b 100644
--- a/stm32f091/util.h
+++ b/stm32f091/util.h
@@ -8,6 +8,10 @@
#include "setup.h"
#include "../shared/util.h"
+// macro to string macro's
+#define WS_MTS_EXPAND(x) #x
+#define WS_MTS(x) WS_MTS_EXPAND(x)
+
#define WS_DBG_TTY_COLOR_BLK 0x0
#define WS_DBG_TTY_COLOR_RED 0x1
#define WS_DBG_TTY_COLOR_GRN 0x2