@@ -126,12 +126,12 @@ MENU(mainMenu,"Main menu",doNothing,noEvent,wrapStyle
126126#define ST7735_GRAY RGB565 (128 ,128 ,128 )
127127
128128const colorDef<uint16_t> colors[] MEMMODE={
129- {{ST7735_BLACK,ST7735_BLACK},{ ST7735_BLACK,ST7735_BLUE,ST7735_BLUE}},// bgColor
130- {{ST7735_GRAY,ST7735_GRAY},{ ST7735_WHITE,ST7735_WHITE,ST7735_WHITE}},// fgColor
131- {{ST7735_WHITE,ST7735_BLACK},{ ST7735_YELLOW,ST7735_YELLOW,ST7735_RED}},// valColor
132- {{ST7735_WHITE,ST7735_BLACK},{ ST7735_WHITE,ST7735_YELLOW,ST7735_YELLOW}},// unitColor
133- {{ST7735_WHITE,ST7735_GRAY},{ ST7735_BLACK,ST7735_BLUE,ST7735_WHITE}},// cursorColor
134- {{ST7735_WHITE,ST7735_YELLOW},{ST7735_BLUE,ST7735_RED,ST7735_RED}},// titleColor
129+ {{( uint16_t ) ST7735_BLACK,( uint16_t ) ST7735_BLACK}, {( uint16_t ) ST7735_BLACK, ( uint16_t ) ST7735_BLUE, ( uint16_t ) ST7735_BLUE}},// bgColor
130+ {{( uint16_t ) ST7735_GRAY, ( uint16_t ) ST7735_GRAY}, {( uint16_t ) ST7735_WHITE, ( uint16_t ) ST7735_WHITE, ( uint16_t ) ST7735_WHITE}},// fgColor
131+ {{( uint16_t ) ST7735_WHITE,( uint16_t ) ST7735_BLACK}, {( uint16_t ) ST7735_YELLOW,( uint16_t ) ST7735_YELLOW,( uint16_t ) ST7735_RED}},// valColor
132+ {{( uint16_t ) ST7735_WHITE,( uint16_t ) ST7735_BLACK}, {( uint16_t ) ST7735_WHITE, ( uint16_t ) ST7735_YELLOW,( uint16_t ) ST7735_YELLOW}},// unitColor
133+ {{( uint16_t ) ST7735_WHITE,( uint16_t ) ST7735_GRAY}, {( uint16_t ) ST7735_BLACK, ( uint16_t ) ST7735_BLUE, ( uint16_t ) ST7735_WHITE}},// cursorColor
134+ {{( uint16_t ) ST7735_WHITE,( uint16_t ) ST7735_YELLOW},{( uint16_t ) ST7735_BLUE, ( uint16_t ) ST7735_RED, ( uint16_t ) ST7735_RED}},// titleColor
135135};
136136
137137serialIn serial (Serial);
0 commit comments