From 622bc9bef0403e1bd7826d8263ce366aac661762 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 18 Sep 2012 21:10:39 +0000 Subject: [PATCH] companion9x compilation with latest open9x changes --- src/sdcard.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/sdcard.h b/src/sdcard.h index 5a4a84391..6049aad0d 100644 --- a/src/sdcard.h +++ b/src/sdcard.h @@ -72,12 +72,17 @@ inline const pm_char *SDCARD_ERROR(FRESULT result) void sdInit(); void sdLoad(); void usbMassStorage(); -bool sdIsHC(); #else void sdPoll10mS(); #define sdIsHC() 0 #define CardIsMounted() (true) #endif +#if defined(PCBARM) && !defined(SIMU) +bool sdIsHC(); +#else +#define sdIsHC() 0 +#endif + #endif