From 61f2ed8356007ed60f4de42f0b429cbc1e075ab2 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Thu, 28 Apr 2022 13:34:52 +0200 Subject: [PATCH] drivers: pwm: shell: fix struct variable name The pwm field in struct args_index was missed when pwm was renamed to channel in all drivers. As a result, the PWM shell could no longer be built. Signed-off-by: Gerard Marull-Paretas --- drivers/pwm/pwm_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm_shell.c b/drivers/pwm/pwm_shell.c index b652df1955c..661f6a25419 100644 --- a/drivers/pwm/pwm_shell.c +++ b/drivers/pwm/pwm_shell.c @@ -15,7 +15,7 @@ struct args_index { uint8_t device; - uint8_t pwm; + uint8_t channel; uint8_t period; uint8_t pulse; uint8_t flags;