diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 9 | ||||
-rw-r--r-- | firmware/export/iap.h | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/firmware/drivers/tuner/ipod_remote_tuner.c b/firmware/drivers/tuner/ipod_remote_tuner.c index e770b9dbe4..25ad2d9845 100644 --- a/firmware/drivers/tuner/ipod_remote_tuner.c +++ b/firmware/drivers/tuner/ipod_remote_tuner.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "tuner.h" /* tuner abstraction interface */ | 29 | #include "tuner.h" /* tuner abstraction interface */ |
30 | #include "adc.h" | 30 | #include "adc.h" |
31 | #include "settings.h" | 31 | #include "settings.h" |
32 | #include "power.h" | ||
32 | 33 | ||
33 | static bool powered = false; | 34 | static bool powered = false; |
34 | 35 | ||
@@ -204,7 +205,7 @@ void rmt_tuner_set_param(unsigned char tuner_param) | |||
204 | } | 205 | } |
205 | } | 206 | } |
206 | 207 | ||
207 | void set_deltafreq(int delta) | 208 | static void set_deltafreq(int delta) |
208 | { | 209 | { |
209 | tuner_param &= 0xFC; | 210 | tuner_param &= 0xFC; |
210 | switch (delta) | 211 | switch (delta) |
@@ -231,7 +232,7 @@ void set_deltafreq(int delta) | |||
231 | } | 232 | } |
232 | } | 233 | } |
233 | 234 | ||
234 | void set_deemphasis(int deemphasis) | 235 | static void set_deemphasis(int deemphasis) |
235 | { | 236 | { |
236 | tuner_param &= 0xBF; | 237 | tuner_param &= 0xBF; |
237 | switch (deemphasis) | 238 | switch (deemphasis) |
@@ -249,7 +250,7 @@ void set_deemphasis(int deemphasis) | |||
249 | } | 250 | } |
250 | } | 251 | } |
251 | 252 | ||
252 | void set_mono(int value) | 253 | static void set_mono(int value) |
253 | { | 254 | { |
254 | tuner_param &= 0xEF; | 255 | tuner_param &= 0xEF; |
255 | 256 | ||
@@ -264,7 +265,7 @@ void set_mono(int value) | |||
264 | } | 265 | } |
265 | } | 266 | } |
266 | 267 | ||
267 | bool reply_timeout(void) | 268 | static bool reply_timeout(void) |
268 | { | 269 | { |
269 | int timeout = 0; | 270 | int timeout = 0; |
270 | 271 | ||
diff --git a/firmware/export/iap.h b/firmware/export/iap.h index d00e5f398a..b6d6e64d68 100644 --- a/firmware/export/iap.h +++ b/firmware/export/iap.h | |||
@@ -24,12 +24,10 @@ | |||
24 | #define TX_BUFLEN 128 | 24 | #define TX_BUFLEN 128 |
25 | 25 | ||
26 | extern int iap_getc(unsigned char x); | 26 | extern int iap_getc(unsigned char x); |
27 | extern void iap_write_pkt(unsigned char data, int len); | ||
28 | extern void iap_setup(int ratenum); | 27 | extern void iap_setup(int ratenum); |
29 | extern void iap_bitrate_set(int ratenum); | 28 | extern void iap_bitrate_set(int ratenum); |
30 | extern void iap_periodic(void); | 29 | extern void iap_periodic(void); |
31 | extern void iap_handlepkt(void); | 30 | extern void iap_handlepkt(void); |
32 | extern void iap_track_changed(void *ignored); | ||
33 | extern void iap_send_pkt(const unsigned char * data, int len); | 31 | extern void iap_send_pkt(const unsigned char * data, int len); |
34 | extern unsigned char serbuf[RX_BUFLEN]; | 32 | extern unsigned char serbuf[RX_BUFLEN]; |
35 | 33 | ||