From 808809650d76d3c49ca4a93110c291bf2dbbcd69 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 22 Dec 2012 20:34:24 +0000 Subject: [PATCH] [X9D] Simu warning removed --- src/simpgmspace.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/simpgmspace.h b/src/simpgmspace.h index 060be9e54..772c56095 100644 --- a/src/simpgmspace.h +++ b/src/simpgmspace.h @@ -342,10 +342,13 @@ void eeprom_read_block (void *pointer_ram, #define UART3_Configure(...) #define UART_Stop(...) #define UART3_Stop(...) + +#if defined(PCBX9D) || defined(PCBACT) inline void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_InitTypeDef* GPIO_InitStruct) { } #define GPIO_SetBits(...) #define GPIO_ResetBits(...) #define RCC_AHB1PeriphClockCmd(...) #define GPIO_ReadInputDataBit(...) true +#endif #endif