diff options
author | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
---|---|---|
committer | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
commit | f5ca09365013ad01f33db2d2f58b222d6391b38d (patch) | |
tree | 14f52fa897c91489fa612827ff7bbdab42cf0d7b /drv_generic_i2c.h | |
parent | c5130183e05c6dcb274b6341a05f496acf64aa1f (diff) | |
download | lcd4linux-f5ca09365013ad01f33db2d2f58b222d6391b38d.tar.gz |
[lcd4linux @ 2006-02-25 13:36:33 by geronet]
updated indent.sh, applied coding style
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_i2c.h')
-rw-r--r-- | drv_generic_i2c.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/drv_generic_i2c.h b/drv_generic_i2c.h index 3304109..2236267 100644 --- a/drv_generic_i2c.h +++ b/drv_generic_i2c.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic_i2c.h,v 1.4 2005/05/31 21:32:00 lfcorreia Exp $
+/* $Id: drv_generic_i2c.h,v 1.5 2006/02/25 13:36:33 geronet Exp $
*
* generic driver helper for i2c displays
*
@@ -23,6 +23,9 @@ *
*
* $Log: drv_generic_i2c.h,v $ + * Revision 1.5 2006/02/25 13:36:33 geronet + * updated indent.sh, applied coding style + * * Revision 1.4 2005/05/31 21:32:00 lfcorreia * fix my email address *
@@ -41,8 +44,8 @@ * HD44780/I2C patch from Luis merged (still does not work for me)
*
*
- */
-
+ */
+
/*
*
* exported fuctions:
@@ -66,15 +69,14 @@ * void drv_generic_i2c_command(unsigned char command, unsigned char *data,unsigned char length)
* send command and the data to the i2c device
*
- */
-
+ */
+
#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 /*
*/ |