Skip to content

Commit

Permalink
[nrf fromlist] tests: drivers: adc_api: change second channel gain fo…
Browse files Browse the repository at this point in the history
…r nrf54.

Upstream PR: zephyrproject-rtos/zephyr#76088

It will increase test coverage for adc driver, no test uses
ADC_GAIN_2_3 setting yet.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit 71ae6ff6f10497e816fcf2da05ee0887dd5452df)
  • Loading branch information
nordic-babu authored and 57300 committed Oct 23, 2024
1 parent 31f5007 commit 08ace2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

channel@2 {
reg = <2>;
zephyr,gain = "ADC_GAIN_1_2";
zephyr,gain = "ADC_GAIN_2_3";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 10)>;
zephyr,input-positive = <NRF_SAADC_AIN2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

channel@2 {
reg = <2>;
zephyr,gain = "ADC_GAIN_2_5";
zephyr,gain = "ADC_GAIN_2_3";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 10)>;
zephyr,input-positive = <NRF_SAADC_AIN2>;
Expand Down

0 comments on commit 08ace2f

Please sign in to comment.