Skip to content

Commit 7ff707c

Browse files
committed
Fix SAADC resolution for nRF52-based targets... again
1 parent 3d5489a commit 7ff707c

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)