diff options
Diffstat (limited to 'firmware/target')
5 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/debug-tcc77x.c b/firmware/target/arm/tcc77x/debug-tcc77x.c index bf322f5675..cf98451329 100644 --- a/firmware/target/arm/tcc77x/debug-tcc77x.c +++ b/firmware/target/arm/tcc77x/debug-tcc77x.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "cpu.h" | 23 | #include "cpu.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "string.h" | 25 | #include "string.h" |
26 | #include <stdio.h> | ||
26 | #include <stdbool.h> | 27 | #include <stdbool.h> |
27 | #include "button.h" | 28 | #include "button.h" |
28 | #include "lcd.h" | 29 | #include "lcd.h" |
diff --git a/firmware/target/arm/tcc77x/iaudio7/power-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/power-iaudio7.c index 0501ba272c..baf93b73aa 100644 --- a/firmware/target/arm/tcc77x/iaudio7/power-iaudio7.c +++ b/firmware/target/arm/tcc77x/iaudio7/power-iaudio7.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "kernel.h" | 25 | #include "kernel.h" |
26 | #include "system.h" | 26 | #include "system.h" |
27 | #include "power.h" | 27 | #include "power.h" |
28 | #include "backlight-target.h" | ||
28 | 29 | ||
29 | #include "pcf50606.h" | 30 | #include "pcf50606.h" |
30 | 31 | ||
diff --git a/firmware/target/arm/tcc77x/logikdax/audio-logikdax.c b/firmware/target/arm/tcc77x/logikdax/audio-logikdax.c index 107b2743ae..90c9a68827 100644 --- a/firmware/target/arm/tcc77x/logikdax/audio-logikdax.c +++ b/firmware/target/arm/tcc77x/logikdax/audio-logikdax.c | |||
@@ -26,6 +26,7 @@ | |||
26 | int audio_channels = 2; | 26 | int audio_channels = 2; |
27 | int audio_output_source = AUDIO_SRC_PLAYBACK; | 27 | int audio_output_source = AUDIO_SRC_PLAYBACK; |
28 | 28 | ||
29 | #if INPUT_SRC_CAPS != 0 | ||
29 | void audio_set_output_source(int source) | 30 | void audio_set_output_source(int source) |
30 | { | 31 | { |
31 | (void)source; | 32 | (void)source; |
@@ -36,3 +37,4 @@ void audio_input_mux(int source, unsigned flags) | |||
36 | (void)source; | 37 | (void)source; |
37 | (void)flags; | 38 | (void)flags; |
38 | } | 39 | } |
40 | #endif | ||
diff --git a/firmware/target/arm/tcc77x/logikdax/power-logikdax.c b/firmware/target/arm/tcc77x/logikdax/power-logikdax.c index e84ff1c852..840b02a2a5 100644 --- a/firmware/target/arm/tcc77x/logikdax/power-logikdax.c +++ b/firmware/target/arm/tcc77x/logikdax/power-logikdax.c | |||
@@ -31,6 +31,7 @@ void power_init(void) | |||
31 | 31 | ||
32 | void ide_power_enable(bool on) | 32 | void ide_power_enable(bool on) |
33 | { | 33 | { |
34 | (void)on; | ||
34 | } | 35 | } |
35 | 36 | ||
36 | bool ide_powered(void) | 37 | bool ide_powered(void) |
diff --git a/firmware/target/arm/tcc77x/system-tcc77x.c b/firmware/target/arm/tcc77x/system-tcc77x.c index afcbf9861f..cffb4deba4 100644 --- a/firmware/target/arm/tcc77x/system-tcc77x.c +++ b/firmware/target/arm/tcc77x/system-tcc77x.c | |||
@@ -272,7 +272,7 @@ http://infocenter.arm.com/help/topic/com.arm.doc.ddi0201d/DDI0201D_arm946es_r1p1 | |||
272 | "mov r0, #0xa5 \n\t" | 272 | "mov r0, #0xa5 \n\t" |
273 | #elif defined(IAUDIO_7) || defined(SANSA_M200) | 273 | #elif defined(IAUDIO_7) || defined(SANSA_M200) |
274 | "mov r0, #0xa7 \n\t" | 274 | "mov r0, #0xa7 \n\t" |
275 | #elif | 275 | #else |
276 | #error NOT DEFINED FOR THIS TARGET! | 276 | #error NOT DEFINED FOR THIS TARGET! |
277 | #endif | 277 | #endif |
278 | "mcr p15, 0, r0, c2, c0, 0 \n\t" | 278 | "mcr p15, 0, r0, c2, c0, 0 \n\t" |