Make FS hall sticks EXT3 EXT4 optional

As this breaks Companion model editing for now (see issue #758).
This commit is contained in:
Raphael Coeffic
2021-09-19 13:49:47 +02:00
committed by Risto
parent 4546f885ec
commit 68d9162cb4
7 changed files with 29 additions and 24 deletions
@@ -85,7 +85,7 @@ stm32_hal_adc_channel ADC_MAIN_channels[] = {
{ ADC_CHANNEL_POT3, ADC_SAMPTIME },
{ ADC_CHANNEL_EXT1, ADC_SAMPTIME },
{ ADC_CHANNEL_EXT2, ADC_SAMPTIME },
#if (defined(RADIO_TX16S) && defined(FLYSKY_HALL_STICKS))
#if defined(FLYSKY_HALL_STICKS_EXT3_EXT4)
{ ADC_CHANNEL_EXT3, ADC_SAMPTIME },
{ ADC_CHANNEL_EXT4, ADC_SAMPTIME },
#endif