We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 616e067 + 501dba8 commit fe395ecCopy full SHA for fe395ec
cores/nRF5/wiring_analog_nRF52.c
@@ -98,7 +98,7 @@ void analogReference( eAnalogReference ulMode )
98
switch ( ulMode ) {
99
case AR_VDD4:
100
saadcReference = SAADC_CH_CONFIG_REFSEL_VDD1_4;
101
- saadcGain = SAADC_CH_CONFIG_GAIN_Gain4;
+ saadcGain = SAADC_CH_CONFIG_GAIN_Gain1_4;
102
break;
103
case AR_INTERNAL_3_0:
104
saadcReference = SAADC_CH_CONFIG_REFSEL_Internal;
0 commit comments