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 <gerard@teslabs.com>
This commit is contained in:
parent
72ab376c24
commit
5a4655f69f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(adc_nrfx_saadc);
|
|||
|
||||
#if (NRF_SAADC_HAS_AIN_AS_PIN)
|
||||
|
||||
#if defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_NRF9280)
|
||||
#if defined(CONFIG_NRF_PLATFORM_HALTIUM)
|
||||
static const uint8_t saadc_psels[NRF_SAADC_AIN7 + 1] = {
|
||||
[NRF_SAADC_AIN0] = NRF_PIN_PORT_TO_PIN_NUMBER(0U, 1),
|
||||
[NRF_SAADC_AIN1] = NRF_PIN_PORT_TO_PIN_NUMBER(1U, 1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue