Skip to content

Commit 5a4655f

Browse files
gmarullcarlescufi
authored andcommitted
drivers: adc: nrfx_saadc: use CONFIG_NRF_PLATFORM_HALTIUM
So that any Haltium based SoC uses the same settings, including nRF54H20 EngB. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 72ab376 commit 5a4655f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/adc/adc_nrfx_saadc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(adc_nrfx_saadc);
1919

2020
#if (NRF_SAADC_HAS_AIN_AS_PIN)
2121

22-
#if defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_NRF9280)
22+
#if defined(CONFIG_NRF_PLATFORM_HALTIUM)
2323
static const uint8_t saadc_psels[NRF_SAADC_AIN7 + 1] = {
2424
[NRF_SAADC_AIN0] = NRF_PIN_PORT_TO_PIN_NUMBER(0U, 1),
2525
[NRF_SAADC_AIN1] = NRF_PIN_PORT_TO_PIN_NUMBER(1U, 1),

0 commit comments

Comments
 (0)