summaryrefslogtreecommitdiff
path: root/firmware/export/ascodec.h
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-02-20 03:36:26 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-04-05 01:55:38 +0000
commitc7daef36c5c75b8541d38cec4793826ab085d5ad (patch)
tree7a690b321d942ad4f12a88682a0689d253c4eb7c /firmware/export/ascodec.h
parentce90c0481a6c7a5a455791e4e7366c589e52b68c (diff)
downloadrockbox-c7daef36c5c75b8541d38cec4793826ab085d5ad.tar.gz
rockbox-c7daef36c5c75b8541d38cec4793826ab085d5ad.zip
as3525: reverting I2C2 to non-interrupts version
Interrupts version is cause of freeze on USB extraction. Also non-interrupts version much simpler and faster. Change-Id: I30a2993cdcaa85abfba77ca06bfacd5b6b4353e2
Diffstat (limited to 'firmware/export/ascodec.h')
-rw-r--r--firmware/export/ascodec.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/ascodec.h b/firmware/export/ascodec.h
index 8697adb00d..c2ff3c8242 100644
--- a/firmware/export/ascodec.h
+++ b/firmware/export/ascodec.h
@@ -37,13 +37,11 @@ void ascodec_close(void);
37void ascodec_lock(void); 37void ascodec_lock(void);
38void ascodec_unlock(void); 38void ascodec_unlock(void);
39 39
40int ascodec_write(unsigned int index, unsigned int value); 40void ascodec_write(unsigned int index, unsigned int value);
41 41
42int ascodec_read(unsigned int index); 42int ascodec_read(unsigned int index);
43 43
44int ascodec_readbytes(unsigned int index, unsigned int len, unsigned char *data); 44void ascodec_readbytes(unsigned int index, unsigned int len, unsigned char *data);
45
46void ascodec_wait_adc_finished(void);
47 45
48#if CONFIG_CHARGING 46#if CONFIG_CHARGING
49bool ascodec_endofch(void); 47bool ascodec_endofch(void);