diff options
-rw-r--r-- | drv_HD44780.c | 2 | ||||
-rw-r--r-- | drv_generic_i2c.h | 15 |
2 files changed, 8 insertions, 9 deletions
diff --git a/drv_HD44780.c b/drv_HD44780.c index a9b67ff..d416144 100644 --- a/drv_HD44780.c +++ b/drv_HD44780.c @@ -917,7 +917,7 @@ static int drv_HD_backlight(int backlight) backlight = 1; drv_generic_parport_control(SIGNAL_BACKLIGHT, backlight ? SIGNAL_BACKLIGHT : 0); - + return backlight; } diff --git a/drv_generic_i2c.h b/drv_generic_i2c.h index ecda61e..4937b38 100644 --- a/drv_generic_i2c.h +++ b/drv_generic_i2c.h @@ -51,11 +51,10 @@ #ifndef _DRV_GENERIC_I2C_H_
#define _DRV_GENERIC_I2C_H_
-
-int drv_generic_i2c_open(const char *section, const char *driver);
-int drv_generic_i2c_close(void);
-unsigned char drv_generic_i2c_wire(const char *name, const char *deflt);
-void drv_generic_i2c_data(const unsigned char data);
-void drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length);
-
-#endif
+
int drv_generic_i2c_open(const char *section, const char *driver); +
int drv_generic_i2c_close(void); +
unsigned char drv_generic_i2c_wire(const char *name, const char *deflt); +
void drv_generic_i2c_data(const unsigned char data); +
void drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length); +
+#endif /*
*/ |