From be6542b9d55a5dd5fea39d7c844c2280dbc23eae Mon Sep 17 00:00:00 2001 From: NikhitaR-IFX Date: Mon, 6 Nov 2023 17:50:23 +0530 Subject: [PATCH] tests/psoc6/dut: Fixing typo. Signed-off-by: NikhitaR-IFX --- tests/psoc6/dut/adc.py | 8 ++++---- tests/psoc6/dut/adc.py.exp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/psoc6/dut/adc.py b/tests/psoc6/dut/adc.py index 6e70e267a09fe..8ab83f9049722 100644 --- a/tests/psoc6/dut/adc.py +++ b/tests/psoc6/dut/adc.py @@ -20,7 +20,7 @@ adc0 = ADC(adc_pin0, sample_ns=1000) adc1 = ADC(adc_pin1, sample_ns=1000) -print("Volatge (in microvolts) on pin", adc_pin0, "is max: ", adc0.read_uv() > 1000000) -print("Volatge (raw count) on pin", adc_pin0, "is max: ", adc0.read_u16() > 500) -print("Volatge (in microvolts) on pin", adc_pin1, "is max: ", adc1.read_uv() < 1000000) -print("Volatge (raw count) on pin", adc_pin1, "is max: ", adc1.read_u16() < 500) +print("Voltage (in microvolts) on pin", adc_pin0, "is max: ", adc0.read_uv() > 1000000) +print("Voltage (raw count) on pin", adc_pin0, "is max: ", adc0.read_u16() > 500) +print("Voltage (in microvolts) on pin", adc_pin1, "is max: ", adc1.read_uv() < 1000000) +print("Voltage (raw count) on pin", adc_pin1, "is max: ", adc1.read_u16() < 500) diff --git a/tests/psoc6/dut/adc.py.exp b/tests/psoc6/dut/adc.py.exp index 476dbee62dd20..afa101f1d0942 100644 --- a/tests/psoc6/dut/adc.py.exp +++ b/tests/psoc6/dut/adc.py.exp @@ -1,4 +1,4 @@ -Volatge (in microvolts) on pin P10_0 is max: True -Volatge (raw count) on pin P10_0 is max: True -Volatge (in microvolts) on pin P10_1 is max: True -Volatge (raw count) on pin P10_1 is max: True +Voltage (in microvolts) on pin P10_0 is max: True +Voltage (raw count) on pin P10_0 is max: True +Voltage (in microvolts) on pin P10_1 is max: True +Voltage (raw count) on pin P10_1 is max: True