From f2cb8a0c5310430a88c3392f8f7b8048da97dbc5 Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 10:51:57 +0200 Subject: [PATCH] compiler warnings --- gui.c | 2 +- gui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui.c b/gui.c index 1fc8f083..05406373 100644 --- a/gui.c +++ b/gui.c @@ -75,7 +75,7 @@ void guiInit(uint16_t updateInterval) { tp = chThdCreateFromHeap(NULL, THD_WA_SIZE(64), HIGHPRIO-1, TouchPadThread, updateInterval); } -Thread *guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, unsigned char *str, uint16_t fontColor, uint16_t buttonColor, uint16_t interval, uint8_t *active, uint8_t *state) { +Thread *guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, char *str, uint16_t fontColor, uint16_t buttonColor, uint16_t interval, uint8_t *active, uint8_t *state) { struct button_t *button; Thread *tp = NULL; diff --git a/gui.h b/gui.h index 4e1e27e0..66200c7a 100644 --- a/gui.h +++ b/gui.h @@ -57,7 +57,7 @@ void guiInit(uint16_t updateIntervl); * * return: pointer to created thread */ -Thread *guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, unsigned char *str, uint16_t fontColor, uint16_t buttonColor, uint16_t inverval, uint8_t *active, uint8_t *state); +Thread *guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, char *str, uint16_t fontColor, uint16_t buttonColor, uint16_t inverval, uint8_t *active, uint8_t *state); /* * Description: draws a bar graph and updates it's value