Skip to content
Commit 202b2ff9 authored by Hu Zhenyu's avatar Hu Zhenyu Committed by Christopher Friedt
Browse files

tests: gpio: add initial state of GPIO set bits



When a GPIO is 1 and port_set_bits_raw_and_verify function does
not set that bit, it will still be 1. So calculate the expected
value only by the parameter of port_set_bits_raw_and_verify is
not enough. A proper way is to clear all the GPIO bit fist and
then do the test.
Fixes: #49714

Signed-off-by: default avatarHu Zhenyu <zhenyu.hu@intel.com>
parent 10d39b03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment