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