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>
Loading
Please sign in to comment