mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
Compilation fix
This commit is contained in:
parent
13e9c36f51
commit
ac89688cfa
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue