From 0fba49a224db1d44baa97d82aa5df546cbd3d606 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Tue, 1 Sep 2009 15:46:14 +0000 Subject: [PATCH] Fix warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2849 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/lcd_text.h | 2 +- bertos/hw/hw_tas5706a.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 { \ -- 2.25.1