zephyr/tests/drivers/can
Alexander Wachter 9f858ac1b6 tests: drivers: can: timing: Fix potential div by zero
If the prescaler is zero in the test, a div by zero would happen.
Add an assert to check for zero prescaler.
Fix CID 216790

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
2021-02-11 08:54:12 -05:00
..
api
stm32
timing tests: drivers: can: timing: Fix potential div by zero 2021-02-11 08:54:12 -05:00