summaryrefslogtreecommitdiff
path: root/i2c.h
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:45:44 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:45:44 -0500
commit304664e3a7db1809ff29e525cc2052dad6256ffa (patch)
treed43e0a2d26ecac797d45aa68fdd82572635613cb /i2c.h
parent428e1cde1fb3aa00734742b0491dd3a616c71c61 (diff)
add better typing to I2C code, add I2C test routine in response.c
Diffstat (limited to 'i2c.h')
-rw-r--r--i2c.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/i2c.h b/i2c.h
index 5382c4e..6c0e5b9 100644
--- a/i2c.h
+++ b/i2c.h
@@ -1,2 +1,4 @@
-int I2C_Write(int address, int value);
-int I2C_Read(int address);
+#include <glib.h>
+
+int I2C_Write(gulong address, guchar value);
+guchar I2C_Read(gulong address);