From 7b5ce736db36e79d5bc4a0c60fb93bc8a7f54754 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 25 Jul 2018 20:16:02 +0200 Subject: Fix playersim CHAR_WIDTH re-definition Change-Id: I49d2b3635c62277723665d0bdd68808cc82ca1a9 --- uisimulator/common/lcd-playersim.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'uisimulator') diff --git a/uisimulator/common/lcd-playersim.h b/uisimulator/common/lcd-playersim.h index 2225172c4e..63e8b80eba 100644 --- a/uisimulator/common/lcd-playersim.h +++ b/uisimulator/common/lcd-playersim.h @@ -21,6 +21,11 @@ #define ICON_HEIGHT 12 #define CHAR_HEIGHT 8 + +#ifdef CHAR_WIDTH + #undef CHAR_WIDTH +#endif + #define CHAR_WIDTH 6 #define CHAR_PIXEL 2 #define BORDER_MARGIN 1 -- cgit v1.2.3