tests: drivers: pwm: fix order of parameters
Fix #32918 [Coverity CID :219528] "Arguments in wrong order in tests/drivers/pwm/pwm_loopback/src/main.c" Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
This commit is contained in:
parent
b5b4d0820c
commit
c746a5419b
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ void test_main(void)
|
||||||
struct test_pwm in;
|
struct test_pwm in;
|
||||||
struct test_pwm out;
|
struct test_pwm out;
|
||||||
|
|
||||||
get_test_pwms(&in, &out);
|
get_test_pwms(&out, &in);
|
||||||
|
|
||||||
k_object_access_grant(out.dev, k_current_get());
|
k_object_access_grant(out.dev, k_current_get());
|
||||||
k_object_access_grant(in.dev, k_current_get());
|
k_object_access_grant(in.dev, k_current_get());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue