Fix X9E RTC batt voltage readout (#7382)

This commit is contained in:
3djc
2020-02-18 11:26:37 +01:00
committed by GitHub
parent 18b5fbf33e
commit f6075b3c0b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -754,7 +754,7 @@
#define ADC_EXT_SET_DMA_FLAGS() ADC_DMA->LIFCR = (DMA_LIFCR_CTCIF0 | DMA_LIFCR_CHTIF0 | DMA_LIFCR_CTEIF0 | DMA_LIFCR_CDMEIF0 | DMA_LIFCR_CFEIF0)
#define ADC_EXT_TRANSFER_COMPLETE() (ADC_DMA->LISR & DMA_LISR_TCIF0)
#define ADC_EXT_SAMPTIME 3 // sample time = 56 cycles
#define ADC_VREF_PREC2 200
#define ADC_VREF_PREC2 300
#elif defined(PCBX9DP)
#define HARDWARE_POT1
#define HARDWARE_POT2