diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-12-25 01:46:16 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-12-25 01:46:16 +0000 |
commit | 70e9c7aed361787a404c4856211ddf53127fca9a (patch) | |
tree | 3072967cf3ed2779acf939e150694ef437cbad2d /firmware/export/serial.h | |
parent | f921f74873a1439cf4e25b87192b31c079863924 (diff) | |
download | rockbox-70e9c7aed361787a404c4856211ddf53127fca9a.tar.gz rockbox-70e9c7aed361787a404c4856211ddf53127fca9a.zip |
Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/serial.h')
-rw-r--r-- | firmware/export/serial.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/serial.h b/firmware/export/serial.h index 425fc66fc6..8a4780c3f1 100644 --- a/firmware/export/serial.h +++ b/firmware/export/serial.h | |||
@@ -22,8 +22,11 @@ | |||
22 | #ifndef __SERIAL_H__ | 22 | #ifndef __SERIAL_H__ |
23 | #define __SERIAL_H__ | 23 | #define __SERIAL_H__ |
24 | 24 | ||
25 | extern void serial_setup (void); | 25 | extern void serial_setup(void); |
26 | extern void serial_bitrate(int rate); | ||
26 | extern int remote_control_rx(void); | 27 | extern int remote_control_rx(void); |
27 | extern void serial_tx(const unsigned char *buf); | 28 | extern void serial_tx(const unsigned char *buf); |
29 | extern void tx_writec(unsigned char c); | ||
30 | extern int tx_rdy(void); | ||
28 | 31 | ||
29 | #endif | 32 | #endif |