diff options
Diffstat (limited to 'firmware/drivers/tuner')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 9 |
1 files changed, 5 insertions, 4 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 | ||