1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Compilation fix

This commit is contained in:
Bertrand Songis 2019-05-27 18:50:17 +02:00
parent 13e9c36f51
commit ac89688cfa
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -136,14 +136,6 @@
#define ROTARY_ENCODER_EXTI_PinSource2 EXTI_PinSource12 #define ROTARY_ENCODER_EXTI_PinSource2 EXTI_PinSource12
#endif #endif
// This is for SIMU: reuse rotary encoder pins to map UP and DOWN keyboard keys
#if defined(SIMU) && defined(ROTARY_ENCODER_NAVIGATION)
#define KEYS_GPIO_REG_PLUS ROTARY_ENCODER_GPIO->IDR
#define KEYS_GPIO_PIN_PLUS ROTARY_ENCODER_GPIO_PIN_A
#define KEYS_GPIO_REG_MINUS ROTARY_ENCODER_GPIO->IDR
#define KEYS_GPIO_PIN_MINUS ROTARY_ENCODER_GPIO_PIN_B
#endif
// Trims // Trims
#if defined(PCBX9E) #if defined(PCBX9E)
#define TRIMS_GPIO_REG_LHL GPIOG->IDR #define TRIMS_GPIO_REG_LHL GPIOG->IDR