[X9D] Backlight support on simu

This commit is contained in:
bsongis
2012-12-28 08:20:22 +00:00
parent 7eae709938
commit 3d92371570
10 changed files with 27 additions and 62 deletions
+3 -2
View File
@@ -345,8 +345,9 @@ void eeprom_read_block (void *pointer_ram,
#if defined(PCBX9D) || defined(PCBACT)
inline void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_InitTypeDef* GPIO_InitStruct) { }
#define GPIO_SetBits(...)
#define GPIO_ResetBits(...)
#define GPIO_SetBits(GPIOx, pin) GPIOx->BSRRL |= pin
#define GPIO_ResetBits(GPIOx, pin) GPIOx->BSRRL &= ~pin
#define GPIO_IsSet(GPIOx, pin) (GPIOx->BSRRL & pin)
#define RCC_AHB1PeriphClockCmd(...)
#define GPIO_ReadInputDataBit(...) true
#endif