Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revision:
43:7a9cfb57f9e8
Parent:
24:761c30334cf4
--- a/Source/hw.cpp	Fri Mar 20 17:25:47 2020 +0000
+++ b/Source/hw.cpp	Tue Jun 23 14:31:28 2020 +0000
@@ -97,7 +97,7 @@
 
         case ADC_CHAN_CAP_SENSE:
             NRF_ADC->CONFIG = (ADC_CONFIG_RES_10bit << ADC_CONFIG_RES_Pos) |
-                              (ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling << ADC_CONFIG_INPSEL_Pos) |
+                              (ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling << ADC_CONFIG_INPSEL_Pos) |
                               (ADC_CONFIG_REFSEL_VBG << ADC_CONFIG_REFSEL_Pos) |
                               (ADC_CONFIG_PSEL_AnalogInput2 << ADC_CONFIG_PSEL_Pos) |
                               (ADC_CONFIG_EXTREFSEL_None << ADC_CONFIG_EXTREFSEL_Pos);