diff options
| author | Laurent Gautier <creposucre@rockbox.org> | 2009-12-01 17:54:40 +0000 |
|---|---|---|
| committer | Laurent Gautier <creposucre@rockbox.org> | 2009-12-01 17:54:40 +0000 |
| commit | 0260852771aef7a6e9045684f0c3d0d7e01909f7 (patch) | |
| tree | 6fa4b42230d1289857f84405defad94cc2de86b8 /firmware/export/iap.h | |
| parent | 63d79148fd07aebd2b425c0414b7b9622b312399 (diff) | |
| download | rockbox-0260852771aef7a6e9045684f0c3d0d7e01909f7.zip rockbox-0260852771aef7a6e9045684f0c3d0d7e01909f7.tar.gz rockbox-0260852771aef7a6e9045684f0c3d0d7e01909f7.tar.bz2 rockbox-0260852771aef7a6e9045684f0c3d0d7e01909f7.tar.xz | |
Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23805 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/iap.h')
| -rw-r--r-- | firmware/export/iap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/iap.h b/firmware/export/iap.h index e945d0c..d00e5f3 100644 --- a/firmware/export/iap.h +++ b/firmware/export/iap.h @@ -20,6 +20,9 @@ #ifndef __IAP_H__ #define __IAP_H__ +#define RX_BUFLEN 260 +#define TX_BUFLEN 128 + extern int iap_getc(unsigned char x); extern void iap_write_pkt(unsigned char data, int len); extern void iap_setup(int ratenum); @@ -27,5 +30,7 @@ extern void iap_bitrate_set(int ratenum); extern void iap_periodic(void); extern void iap_handlepkt(void); extern void iap_track_changed(void *ignored); +extern void iap_send_pkt(const unsigned char * data, int len); +extern unsigned char serbuf[RX_BUFLEN]; #endif |