[X9E] I move constants to hal.h first

This commit is contained in:
Bertrand Songis
2016-06-06 18:45:14 +02:00
parent 7ef9992349
commit 6f2ece9cd0
2 changed files with 20 additions and 18 deletions
+2
View File
@@ -269,6 +269,8 @@
#define ADC_CHANNEL_STICK_RH ADC_Channel_1 // ADC1_IN1
#define ADC_CHANNEL_STICK_LH ADC_Channel_2 // ADC1_IN2
#define ADC_CHANNEL_STICK_LV ADC_Channel_3 // ADC1_IN3
#define ADC1_DMA_Stream DMA2_Stream0
#define ADC3_DMA_Stream DMA2_Stream1
#if defined(REV9E)
#define ADC_GPIO_PIN_POT1 GPIO_Pin_8 // PF.08
#define ADC_GPIO_PIN_POT2 GPIO_Pin_0 // PB.00