summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/win32/lcd.c2
-rw-r--r--uisimulator/win32/uisw32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/lcd.c b/uisimulator/win32/lcd.c
index 2d1d80c..21c79bd 100644
--- a/uisimulator/win32/lcd.c
+++ b/uisimulator/win32/lcd.c
@@ -410,7 +410,7 @@ BITMAPINFO2 bmi =
DISP_X, -DISP_Y, 1, 8,
BI_RGB, 0, 0, 0, 2, 2,
UI_LCD_COLOR, 0, // green background color
- 0, 0, 0, 0 // black color
+ UI_LCD_BLACK, 0 // black color
}; // bitmap information
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
index c1001d7..37edb0c 100644
--- a/uisimulator/win32/uisw32.h
+++ b/uisimulator/win32/uisw32.h
@@ -25,7 +25,7 @@
#define UI_WIDTH 240 // width of GUI window
#define UI_HEIGHT 360 // height of GUI window
#define UI_LCD_COLOR 46, 57, 49 // bkgnd color of LCD
-#define UI_LCD_BLACK RGB (0, 0, 0) // black
+#define UI_LCD_BLACK 0, 0, 0 // black
#define UI_LCD_POSX 59 // x position of lcd
#define UI_LCD_POSY 95 // y position of lcd