aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/util.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-30 11:20:43 +0100
committerlonkaars <loek@pipeframe.xyz>2022-10-30 11:21:00 +0100
commite4f41ef8b56b76214d05bce34ffd5a8896da24c9 (patch)
treeefe55c9ef28e4c787e10a5b85319b242c7525e9a /stm32f091/util.h
parente473fe14614401342cdc3afe3f6deee4831e6e24 (diff)
parentaf008eb04e3a5705eec63839abc5791454e763ce (diff)
finish second merge
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