Skip to content

Commit 13873f3

Browse files
author
Seppo Takalo
authored
Merge pull request #11062 from AGlass0fMilk/fix-nrf52-saadc-res-again
Fix SAADC resolution for nRF52-based targets... again
2 parents bec388f + 7ff707c commit 13873f3

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
@@ -5063,7 +5063,7 @@
50635063
// <3=> 14 bit
50645064

50655065
#ifndef SAADC_CONFIG_RESOLUTION
5066-
#define SAADC_CONFIG_RESOLUTION 1
5066+
#define SAADC_CONFIG_RESOLUTION 2
50675067
#endif
50685068

50695069
// <o> 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
@@ -5063,7 +5063,7 @@
50635063
// <3=> 14 bit
50645064

50655065
#ifndef SAADC_CONFIG_RESOLUTION
5066-
#define SAADC_CONFIG_RESOLUTION 1
5066+
#define SAADC_CONFIG_RESOLUTION 2
50675067
#endif
50685068

50695069
// <o> SAADC_CONFIG_OVERSAMPLE - Sample period

0 commit comments

Comments
 (0)