summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-10-24 21:39:09 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-10-24 21:39:09 +0000
commit462f012d179baa382e7983b479c08b9ad73659af (patch)
tree560dc73b71b9928ac03917fc6a53c2cce50357c6 /firmware
parent957a31899d02f2d940e932e68fbb52c459119959 (diff)
downloadrockbox-462f012d179baa382e7983b479c08b9ad73659af.tar.gz
rockbox-462f012d179baa382e7983b479c08b9ad73659af.zip
Fix return type of iap_getc (should be bool instead of int)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28354 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/iap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/iap.h b/firmware/export/iap.h
index fab218cf05..c9a670a05f 100644
--- a/firmware/export/iap.h
+++ b/firmware/export/iap.h
@@ -20,10 +20,12 @@
20#ifndef __IAP_H__ 20#ifndef __IAP_H__
21#define __IAP_H__ 21#define __IAP_H__
22 22
23#include <stdbool.h>
24
23#define RX_BUFLEN 260 25#define RX_BUFLEN 260
24#define TX_BUFLEN 128 26#define TX_BUFLEN 128
25 27
26extern int iap_getc(unsigned char x); 28extern bool iap_getc(unsigned char x);
27extern void iap_setup(int ratenum); 29extern void iap_setup(int ratenum);
28extern void iap_bitrate_set(int ratenum); 30extern void iap_bitrate_set(int ratenum);
29extern void iap_periodic(void); 31extern void iap_periodic(void);