Working ADC3 driver for 9XE additional analog inputs (driver source based on Michael Blandford's code)

This commit is contained in:
Damjan Adamic
2014-12-19 20:16:23 +01:00
parent cf87849c5b
commit 6304679582
12 changed files with 164 additions and 44 deletions
+19 -10
View File
@@ -953,17 +953,26 @@ enum Analogs {
STICK3,
STICK4,
#if defined(PCBTARANIS)
POT1,
POT2,
POT3,
POT_LAST = POT3,
SLIDER1,
SLIDER2,
POT1,
POT2,
POT3,
#if defined(REV9E)
POT4,
POT_LAST = POT4,
#else
POT_LAST = POT3,
#endif
SLIDER1,
SLIDER2,
#if defined(REV9E)
SLIDER3,
SLIDER4,
#endif
#else
POT1,
POT2,
POT3,
POT_LAST = POT3,
POT1,
POT2,
POT3,
POT_LAST = POT3,
#endif
TX_VOLTAGE,
#if defined(PCBSKY9X) && !defined(REVA)