Made test suite more tolerant to different system tick values.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14452 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
88d44b881c
commit
cc30722022
|
@ -41,7 +41,11 @@
|
|||
<value><![CDATA[/*
|
||||
* Allowed delay in timeout checks.
|
||||
*/
|
||||
#define ALLOWED_DELAY TIME_MS2I(2)
|
||||
#if CH_CFG_ST_TIMEDELTA == 0
|
||||
#define ALLOWED_DELAY 2
|
||||
#else
|
||||
#define ALLOWED_DELAY CH_CFG_ST_TIMEDELTA
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Maximum number of test threads.
|
||||
|
|
|
@ -59,7 +59,11 @@ extern "C" {
|
|||
/*
|
||||
* Allowed delay in timeout checks.
|
||||
*/
|
||||
#define ALLOWED_DELAY TIME_MS2I(2)
|
||||
#if CH_CFG_ST_TIMEDELTA == 0
|
||||
#define ALLOWED_DELAY 2
|
||||
#else
|
||||
#define ALLOWED_DELAY CH_CFG_ST_TIMEDELTA
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Maximum number of test threads.
|
||||
|
|
Loading…
Reference in New Issue