diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-29 13:20:09 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-29 13:20:09 +0200 |
commit | cda074439b33a6a36431300a55943f5dba4384ea (patch) | |
tree | e4fe498f1fc97b45548cb10606197a53f75b633a /robot/sim.h | |
parent | 529f067e65b0146c5afa150103809ba5e09869b7 (diff) |
remove useless linux_serial options and fix sim.h color macros
Diffstat (limited to 'robot/sim.h')
-rw-r--r-- | robot/sim.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/robot/sim.h b/robot/sim.h index 864a43a..5dbd936 100644 --- a/robot/sim.h +++ b/robot/sim.h @@ -24,15 +24,6 @@ extern bool g_w2_sim_headless; #define DBG_BYTES_PER_LINE 16 // debug colors -#define COL_BLK "" -#define COL_RED "" -#define COL_GRN "" -#define COL_YEL "" -#define COL_BLU "" -#define COL_MAG "" -#define COL_CYN "" -#define COL_WHT "" -#define COL_RST "" #ifdef DBG_ENABLE_COLOR #define COL_BLK "\e[0;30m" #define COL_RED "\e[0;31m" @@ -43,6 +34,16 @@ extern bool g_w2_sim_headless; #define COL_CYN "\e[0;36m" #define COL_WHT "\e[0;37m" #define COL_RST "\e[0m" +#else +#define COL_BLK "" +#define COL_RED "" +#define COL_GRN "" +#define COL_YEL "" +#define COL_BLU "" +#define COL_MAG "" +#define COL_CYN "" +#define COL_WHT "" +#define COL_RST "" #endif // debug stdout print macros |