diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 4 | ||||
-rw-r--r-- | firmware/export/iap.h | 2 | ||||
-rw-r--r-- | firmware/export/ipod_remote_tuner.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/firmware/drivers/tuner/ipod_remote_tuner.c b/firmware/drivers/tuner/ipod_remote_tuner.c index a20735402e..92fcd902ab 100644 --- a/firmware/drivers/tuner/ipod_remote_tuner.c +++ b/firmware/drivers/tuner/ipod_remote_tuner.c | |||
@@ -57,7 +57,7 @@ static void rmt_tuner_signal_power(unsigned char value) | |||
57 | tuner_signal_power = (int)(value); | 57 | tuner_signal_power = (int)(value); |
58 | } | 58 | } |
59 | 59 | ||
60 | void rmt_tuner_freq(void) | 60 | void rmt_tuner_freq(const unsigned char *serbuf) |
61 | { | 61 | { |
62 | char tempdata[4]; | 62 | char tempdata[4]; |
63 | tempdata[0] = serbuf[6]; | 63 | tempdata[0] = serbuf[6]; |
@@ -285,7 +285,7 @@ static bool reply_timeout(void) | |||
285 | return (timeout >= TIMEOUT_VALUE); | 285 | return (timeout >= TIMEOUT_VALUE); |
286 | } | 286 | } |
287 | 287 | ||
288 | void rmt_tuner_rds_data(void) | 288 | void rmt_tuner_rds_data(const unsigned char *serbuf) |
289 | { | 289 | { |
290 | if (serbuf[3] == 0x1E) | 290 | if (serbuf[3] == 0x1E) |
291 | { | 291 | { |
diff --git a/firmware/export/iap.h b/firmware/export/iap.h index b6d6e64d68..fab218cf05 100644 --- a/firmware/export/iap.h +++ b/firmware/export/iap.h | |||
@@ -29,6 +29,6 @@ extern void iap_bitrate_set(int ratenum); | |||
29 | extern void iap_periodic(void); | 29 | extern void iap_periodic(void); |
30 | extern void iap_handlepkt(void); | 30 | extern void iap_handlepkt(void); |
31 | extern void iap_send_pkt(const unsigned char * data, int len); | 31 | extern void iap_send_pkt(const unsigned char * data, int len); |
32 | extern unsigned char serbuf[RX_BUFLEN]; | 32 | const unsigned char *iap_get_serbuf(void); |
33 | 33 | ||
34 | #endif | 34 | #endif |
diff --git a/firmware/export/ipod_remote_tuner.h b/firmware/export/ipod_remote_tuner.h index c22978b0e4..e87b967193 100644 --- a/firmware/export/ipod_remote_tuner.h +++ b/firmware/export/ipod_remote_tuner.h | |||
@@ -28,8 +28,8 @@ | |||
28 | 28 | ||
29 | extern int radio_present; | 29 | extern int radio_present; |
30 | 30 | ||
31 | extern void rmt_tuner_freq(void); | 31 | extern void rmt_tuner_freq(const unsigned char *serbuf); |
32 | extern void rmt_tuner_rds_data(void); | 32 | extern void rmt_tuner_rds_data(const unsigned char *serbuf); |
33 | 33 | ||
34 | int ipod_rmt_tuner_set(int setting, int value); | 34 | int ipod_rmt_tuner_set(int setting, int value); |
35 | int ipod_rmt_tuner_get(int setting); | 35 | int ipod_rmt_tuner_get(int setting); |