Skip to content

Commit bb88d5f

Browse files
Jeppe Odgaardnashif
authored andcommitted
drivers: pwm: pwm_stm32: remove capture overflow log err
The `LOG_ERR` will spam the log if the window is low e.g. 1 ms. Also the PWM capture callback will be called with an error, which allows handling and logging the error if desired. Signed-off-by: Jeppe Odgaard <[email protected]>
1 parent f2d6c74 commit bb88d5f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pwm/pwm_stm32.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,6 @@ static void pwm_stm32_isr(const struct device *dev)
732732
}
733733

734734
if (cpt->overflows) {
735-
LOG_ERR("counter overflow during PWM capture");
736735
status = -ERANGE;
737736
}
738737

0 commit comments

Comments
 (0)