commit | 9f858ac1b6bcf7f9262906f6719d51d5be4404ac | [log] [tgz] |
---|---|---|
author | Alexander Wachter <alexander@wachter.cloud> | Wed Feb 10 17:18:16 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Feb 11 08:54:12 2021 -0500 |
tree | f6b3b6b5d4ff2c424033e290b0518b2cb3b8c55b | |
parent | 902dd26908c7915306e035afaedb96b1fc81a496 [diff] |
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>