Skip to content

Commit 0e3a963

Browse files
authored
Merge pull request #10939 from AGlass0fMilk/fix-nrf52840-adc-resolution
Fix SAADC resolution for nRF52-based targets
2 parents ccb63d7 + f2b8836 commit 0e3a963

File tree

2 files changed

+2
-2
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52

2 files changed

+2
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52832/config/sdk_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@
31243124
// <3=> 14 bit
31253125

31263126
#ifndef NRFX_SAADC_CONFIG_RESOLUTION
3127-
#define NRFX_SAADC_CONFIG_RESOLUTION 1
3127+
#define NRFX_SAADC_CONFIG_RESOLUTION 2
31283128
#endif
31293129

31303130
// <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@
31243124
// <3=> 14 bit
31253125

31263126
#ifndef NRFX_SAADC_CONFIG_RESOLUTION
3127-
#define NRFX_SAADC_CONFIG_RESOLUTION 1
3127+
#define NRFX_SAADC_CONFIG_RESOLUTION 2
31283128
#endif
31293129

31303130
// <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period

0 commit comments

Comments
 (0)