Commit 3b1527a8 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Martí Bolívar
Browse files

tests: drivers: can: timing: tighten the sample point test criteria



Tighten the sample point test acceptance criteria from +/- 10.0% to +/-
5.0%. This is in line with the CAN sample point criteria used by the
Linux kernel.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent 5961ad2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
/**
 * @brief Allowed sample point calculation margin in permille.
 */
#define SAMPLE_POINT_MARGIN 100
#define SAMPLE_POINT_MARGIN 50

/**
 * @brief Defines a set of CAN timing test values