From d625c2bb4c4a1943eb9bdc8c558b5e5a3cc208ae Mon Sep 17 00:00:00 2001 From: Jithu Joseph Date: Wed, 8 Feb 2017 13:40:27 -0800 Subject: [PATCH] grove: fix variable type mismatch These were reported by ISSM compiler. Jira: ZEP-1179 Change-Id: I10d04c2949ad2a390d4c1159d2342c73108a58b7 Signed-off-by: Jithu Joseph --- drivers/grove/lcd_rgb.c | 2 +- include/display/grove_lcd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/grove/lcd_rgb.c b/drivers/grove/lcd_rgb.c index 57bef796d9d..f81e9667719 100644 --- a/drivers/grove/lcd_rgb.c +++ b/drivers/grove/lcd_rgb.c @@ -102,7 +102,7 @@ static inline void _sleep(uint32_t sleep_in_ms) /******************************************** * PUBLIC FUNCTIONS *******************************************/ -void glcd_print(struct device *port, unsigned char *data, uint32_t size) +void glcd_print(struct device *port, char *data, uint32_t size) { const struct glcd_driver * const rom = (struct glcd_driver *) port->config->config_info; diff --git a/include/display/grove_lcd.h b/include/display/grove_lcd.h index 5884f998346..5f222640cfe 100644 --- a/include/display/grove_lcd.h +++ b/include/display/grove_lcd.h @@ -20,7 +20,7 @@ extern "C" { * @param data the ASCII text to display * @param size the length of the text in bytes */ -void glcd_print(struct device *port, unsigned char *data, uint32_t size); +void glcd_print(struct device *port, char *data, uint32_t size); /**