diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index 7c561e475f..66ea3159e3 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c @@ -151,7 +151,7 @@ void demand_irq_enable(bool on) #endif /* #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */ -void play_tick(void) +static void play_tick(void) { if(playing && !paused) { diff --git a/firmware/target/sh/archos/recorder/usb-recorder.c b/firmware/target/sh/archos/recorder/usb-recorder.c index f8b462b802..618f314c25 100644 --- a/firmware/target/sh/archos/recorder/usb-recorder.c +++ b/firmware/target/sh/archos/recorder/usb-recorder.c @@ -25,6 +25,7 @@ #include "hwcompat.h" #include "system.h" #include "usb.h" +#include "usb-target.h" int usb_detect(void) { diff --git a/firmware/target/sh/usb-target.h b/firmware/target/sh/usb-target.h index 9871fdc983..d460ed11a7 100644 --- a/firmware/target/sh/usb-target.h +++ b/firmware/target/sh/usb-target.h @@ -21,6 +21,6 @@ #ifndef USB_TARGET_H #define USB_TARGET_H -bool usb_init_device(void); +void usb_init_device(void); #endif