diff options
Diffstat (limited to '')
-rw-r--r-- | drv_generic_i2c.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drv_generic_i2c.c b/drv_generic_i2c.c index 3d99c2d..7c51052 100644 --- a/drv_generic_i2c.c +++ b/drv_generic_i2c.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_i2c.c 771 2007-02-25 12:27:26Z michael $ +/* $Id: drv_generic_i2c.c 1157 2011-07-27 05:58:08Z michael $ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_generic_i2c.c $ * * generic driver helper for i2c displays @@ -161,6 +161,12 @@ unsigned char drv_generic_i2c_wire(const char *name, const char *deflt) } +void drv_generic_i2c_byte(const unsigned char data) +{ + i2c_smbus_write_byte(i2c_device, data); +} + + void drv_generic_i2c_data(const unsigned char data) { my_i2c_smbus_write_byte_data(i2c_device, data); |