From: lottaviano Date: Tue, 1 Sep 2009 15:46:14 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: 2.2.0~119 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0fba49a224db1d44baa97d82aa5df546cbd3d606;p=bertos.git Fix warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2849 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/lcd_text.h b/bertos/drv/lcd_text.h index 6afdab14..0f2ce496 100644 --- a/bertos/drv/lcd_text.h +++ b/bertos/drv/lcd_text.h @@ -83,7 +83,7 @@ typedef struct _Layer lcdpos_t addr; /** Priority of this layer (greater in front of lesser). */ - char pri; + signed char pri; /** * Layer backing store buffer. diff --git a/bertos/hw/hw_tas5706a.h b/bertos/hw/hw_tas5706a.h index 4f2848e0..d1e1a2e6 100644 --- a/bertos/hw/hw_tas5706a.h +++ b/bertos/hw/hw_tas5706a.h @@ -44,9 +44,9 @@ #warning FIXME: This is an example implementation, you must implement it -#define TAS5706A_SETPOWERDOWN(val) do { /* implement me */ } while (0) -#define TAS5706A_SETRESET(val) do { /* implement me */ } while (0) -#define TAS5706A_SETMUTE(val) do { /* implement me */ } while (0) +#define TAS5706A_SETPOWERDOWN(val) do { (void) val; /* implement me */ } while (0) +#define TAS5706A_SETRESET(val) do { (void) val; /* implement me */ } while (0) +#define TAS5706A_SETMUTE(val) do { (void) val; /* implement me */ } while (0) #define TAS5706A_PIN_INIT() \ do { \