From 57c3a19e8ebda41b624c62734f8a575a40a7b09e Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Fri, 5 Jul 2013 06:20:09 +0000 Subject: [PATCH] For companion9x. The SD directory will be customizable. --- src/simpgmspace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/simpgmspace.h b/src/simpgmspace.h index 407dfc4a7..f96a0dd3b 100644 --- a/src/simpgmspace.h +++ b/src/simpgmspace.h @@ -388,7 +388,9 @@ inline void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_InitTypeDef* GPIO_InitStruct) { #define configure_pins(...) +extern "C" { extern char simuSdDirectory[1024]; +} #define sdMountPoll() #define sdPoll10ms() #define sd_card_ready() (true)