diff options
-rw-r--r-- | apps/codecs/lib/codeclib.c | 1 | ||||
-rw-r--r-- | apps/recorder/radio.c | 2 | ||||
-rw-r--r-- | firmware/target/coldfire/ata-target.h | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/ata-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/button-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/lcd-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/usb-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/pcm-coldfire.c | 4 | ||||
-rw-r--r-- | firmware/target/coldfire/usb-target.h | 2 |
10 files changed, 11 insertions, 4 deletions
diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c index 7f822f49ef..75f1d1a18a 100644 --- a/apps/codecs/lib/codeclib.c +++ b/apps/codecs/lib/codeclib.c @@ -19,6 +19,7 @@ /* "helper functions" common to all codecs */ +#include <string.h> #include "codecs.h" #include "dsp.h" #include "codeclib.h" diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index f4b643de94..38319dca9e 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -1395,7 +1395,7 @@ MENUITEM_SETTING(set_region, &global_settings.fm_region, NULL); MENUITEM_SETTING(force_mono, &global_settings.fm_force_mono, NULL); #ifndef FM_MODE -char* get_mode_text(int selected_item, void * data, char *buffer) +static char* get_mode_text(int selected_item, void * data, char *buffer) { (void)selected_item; (void)data; diff --git a/firmware/target/coldfire/ata-target.h b/firmware/target/coldfire/ata-target.h index e246dc7af1..d7dc80cf37 100644 --- a/firmware/target/coldfire/ata-target.h +++ b/firmware/target/coldfire/ata-target.h @@ -62,6 +62,7 @@ #define SET_16BITREG(reg,val) reg = (val) void ata_reset(void); +void ata_enable(bool on); void ata_device_init(void); bool ata_is_coldstart(void); diff --git a/firmware/target/coldfire/iaudio/m3/ata-m3.c b/firmware/target/coldfire/iaudio/m3/ata-m3.c index 3a0a28b618..c71510d833 100644 --- a/firmware/target/coldfire/iaudio/m3/ata-m3.c +++ b/firmware/target/coldfire/iaudio/m3/ata-m3.c @@ -23,6 +23,7 @@ #include "kernel.h" #include "system.h" #include "power.h" +#include "ata-target.h" void ata_reset(void) { diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c index ecea221a4c..5de2779c37 100644 --- a/firmware/target/coldfire/iaudio/m3/button-m3.c +++ b/firmware/target/coldfire/iaudio/m3/button-m3.c @@ -22,6 +22,7 @@ #include "button.h" #include "backlight.h" #include "adc.h" +#include "lcd-remote-target.h" static bool hold_button = false; static bool remote_hold_button = false; diff --git a/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c b/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c index dcd945d813..620f1030ea 100644 --- a/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c +++ b/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c @@ -22,6 +22,7 @@ #if (CONFIG_TUNER & TEA5767) #include "i2c-coldfire.h" +#include "fmradio_i2c.h" int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) diff --git a/firmware/target/coldfire/iaudio/m3/lcd-m3.c b/firmware/target/coldfire/iaudio/m3/lcd-m3.c index 81f19bd73f..9bb72b087a 100644 --- a/firmware/target/coldfire/iaudio/m3/lcd-m3.c +++ b/firmware/target/coldfire/iaudio/m3/lcd-m3.c @@ -22,6 +22,7 @@ #include "file.h" #include "lcd.h" #include "scroll_engine.h" +#include "lcd-remote-target.h" /* The LCD in the iAudio M3/M5/X5 remote control is a Tomato LSI 0350 */ diff --git a/firmware/target/coldfire/iaudio/m3/usb-m3.c b/firmware/target/coldfire/iaudio/m3/usb-m3.c index f37c69574c..6f6718af24 100644 --- a/firmware/target/coldfire/iaudio/m3/usb-m3.c +++ b/firmware/target/coldfire/iaudio/m3/usb-m3.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "system.h" #include "usb.h" +#include "usb-target.h" void usb_init_device(void) { diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c index 2614946543..fbab046b70 100644 --- a/firmware/target/coldfire/pcm-coldfire.c +++ b/firmware/target/coldfire/pcm-coldfire.c @@ -119,7 +119,7 @@ void pcm_set_frequency(unsigned int frequency) } /* pcm_set_frequency */ /* apply audio settings */ -bool _pcm_apply_settings(bool clear_reset) +static bool _pcm_apply_settings(bool clear_reset) { bool did_reset = false; unsigned long iis_play_defparm = IIS_PLAY_DEFPARM; @@ -154,7 +154,7 @@ bool _pcm_apply_settings(bool clear_reset) } /* _pcm_apply_settings */ /* apply audio setting with all DMA interrupts disabled */ -void _pcm_apply_settings_irq_lock(bool clear_reset) +static void _pcm_apply_settings_irq_lock(bool clear_reset) { int level = set_irq_level(DMA_IRQ_LEVEL); _pcm_apply_settings(clear_reset); diff --git a/firmware/target/coldfire/usb-target.h b/firmware/target/coldfire/usb-target.h index ab8cac6f99..8908dc69e8 100644 --- a/firmware/target/coldfire/usb-target.h +++ b/firmware/target/coldfire/usb-target.h @@ -19,6 +19,6 @@ #ifndef USB_TARGET_H #define USB_TARGET_H -bool usb_init_device(void); +void usb_init_device(void); #endif |