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: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-04-06 17:19:37 +02:00 committed by Marti Bolivar
commit 3b1527a8f9

View file

@ -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