diff --git a/firmware/target/arm/ata-sd-target.h b/firmware/target/arm/ata-sd-target.h index b11d595ed9..b2ac6e2a57 100644 --- a/firmware/target/arm/ata-sd-target.h +++ b/firmware/target/arm/ata-sd-target.h @@ -22,6 +22,7 @@ #define ATA_SD_TARGET_H #include "inttypes.h" +#include "hotswap.h" typedef struct { @@ -45,6 +46,7 @@ bool card_detect_target(void); #ifdef HAVE_HOTSWAP void card_enable_monitoring_target(bool on); +void microsd_int(void); #endif #endif diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index bf49593f45..44a90637d4 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -23,6 +23,7 @@ #include "i2s.h" #include "i2c-pp.h" #include "as3514.h" +#include "ata-sd-target.h" #ifdef HAVE_USBSTACK #include "usb_drv.h" #endif @@ -32,7 +33,6 @@ extern void TIMER1(void); extern void TIMER2(void); extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ -extern void microsd_int(void); /* Sansa E200 and C200 */ #ifdef SANSA_E200 extern void button_int(void); extern void clickwheel_int(void);