diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/hotswap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h index 4a1b1717ca..03971098b9 100644 --- a/firmware/export/hotswap.h +++ b/firmware/export/hotswap.h | |||
@@ -40,8 +40,10 @@ typedef struct | |||
40 | } tCardInfo; | 40 | } tCardInfo; |
41 | 41 | ||
42 | #ifdef TARGET_TREE | 42 | #ifdef TARGET_TREE |
43 | bool card_detect(void); | 43 | #include "hotswap-target.h" |
44 | tCardInfo *card_get_info(int card_no); | 44 | #define card_detect card_detect_target |
45 | #define card_get_info card_get_info_target | ||
46 | #define card_enable_monitoring card_enable_monitoring_target | ||
45 | #else /* HAVE_MMC */ | 47 | #else /* HAVE_MMC */ |
46 | #include "ata_mmc.h" | 48 | #include "ata_mmc.h" |
47 | #define card_detect mmc_detect | 49 | #define card_detect mmc_detect |