Skip to content

Commit 1441825

Browse files
jithu83Anas Nashif
authored andcommitted
grove: fix variable type mismatch
These were reported by ISSM compiler. Jira: ZEP-1179 Change-Id: I10d04c2949ad2a390d4c1159d2342c73108a58b7 Signed-off-by: Jithu Joseph <[email protected]>
1 parent c9042d8 commit 1441825

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/grove/lcd_rgb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static inline void _sleep(uint32_t sleep_in_ms)
112112
/********************************************
113113
* PUBLIC FUNCTIONS
114114
*******************************************/
115-
void glcd_print(struct device *port, unsigned char *data, uint32_t size)
115+
void glcd_print(struct device *port, char *data, uint32_t size)
116116
{
117117
const struct glcd_driver * const rom = (struct glcd_driver *)
118118
port->config->config_info;

include/display/grove_lcd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
* @param data the ASCII text to display
3131
* @param size the length of the text in bytes
3232
*/
33-
void glcd_print(struct device *port, unsigned char *data, uint32_t size);
33+
void glcd_print(struct device *port, char *data, uint32_t size);
3434

3535

3636
/**

0 commit comments

Comments
 (0)