From e406021828143e546f19c5aef58429babf37b080 Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 3 Jan 2013 07:42:49 +0000 Subject: [PATCH] Companion9x compilation --- src/simpgmspace.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/simpgmspace.cpp b/src/simpgmspace.cpp index eba3a6a93..a95fa773f 100644 --- a/src/simpgmspace.cpp +++ b/src/simpgmspace.cpp @@ -580,13 +580,14 @@ FRESULT f_getcwd (TCHAR *path, UINT sz_path) strcpy(path, "."); return FR_OK; } -#endif #if defined(CPUARM) int32_t Card_state = SD_ST_MOUNTED; uint32_t Card_CSD[4]; // TODO elsewhere -#else -int32_t Card_state; // TODO quick and dirty! +#endif + +#else // TODO no SD quick and dirty! +int32_t Card_state; #endif bool lcd_refresh = true;