summaryrefslogtreecommitdiff
path: root/firmware/export/synaptics-rmi.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-07-03 15:18:41 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-07-03 15:18:41 +0000
commite36b20c4a1709ae9fd3020b9f08875c8c03a0912 (patch)
treed17371221234fc16da4e9175fdd0890b7eb58b62 /firmware/export/synaptics-rmi.h
parent22b6def065ab7c2ca030f405577e34104ad20011 (diff)
downloadrockbox-e36b20c4a1709ae9fd3020b9f08875c8c03a0912.tar.gz
rockbox-e36b20c4a1709ae9fd3020b9f08875c8c03a0912.zip
imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/synaptics-rmi.h')
-rw-r--r--firmware/export/synaptics-rmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/synaptics-rmi.h b/firmware/export/synaptics-rmi.h
index 2d7a0c8c1e..38a9955dcc 100644
--- a/firmware/export/synaptics-rmi.h
+++ b/firmware/export/synaptics-rmi.h
@@ -114,7 +114,7 @@ struct rmi_2d_gesture_data_t
114 * the generic_i2c driver; the i2c_dev_addr is the i2c address of the device. 114 * the generic_i2c driver; the i2c_dev_addr is the i2c address of the device.
115 * NOTE: the driver automatically handles the page select mechanism used for 115 * NOTE: the driver automatically handles the page select mechanism used for
116 * RMI over i2c and assumes a standard page select register at 0xff. */ 116 * RMI over i2c and assumes a standard page select register at 0xff. */
117int rmi_init(int i2c_bus_index, int i2c_dev_addr); 117int rmi_init(int i2c_dev_addr);
118/* Read one or more registers. 118/* Read one or more registers.
119 * WARNING: don't cross a page boundary ! */ 119 * WARNING: don't cross a page boundary ! */
120int rmi_read(int address, int byte_count, unsigned char *buffer); 120int rmi_read(int address, int byte_count, unsigned char *buffer);