Skip to content
Commit 9f858ac1 authored by Alexander Wachter's avatar Alexander Wachter Committed by Anas Nashif
Browse files

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: default avatarAlexander Wachter <alexander@wachter.cloud>
parent 902dd269
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment