mirror of https://github.com/ARMmbed/mbed-os.git
Fix NUMAKER_PFM_NANO130 cannot pass mbed_hal/watchdog_reset test
On NUMAKER_PFM_NANO130 target, WDT's clock source is fixed to LIRC, which is much less accurate than other targets. Enlarge delta define to pass this test.pull/10657/head
parent
5190ec8048
commit
b17ea44046
|
|
@ -25,7 +25,13 @@
|
|||
#include "mbed.h"
|
||||
|
||||
#define TIMEOUT_MS 500UL
|
||||
#if TARGET_NUMAKER_PFM_NANO130
|
||||
/* On NUMAKER_PFM_NANO130 target, WDT's clock source is fixed to LIRC, which is more
|
||||
* inaccurate than other targets. Enlarge this delta define to pass this test. */
|
||||
#define TIMEOUT_DELTA_MS 100UL
|
||||
#else
|
||||
#define TIMEOUT_DELTA_MS 50UL
|
||||
#endif
|
||||
|
||||
#define MSG_VALUE_DUMMY "0"
|
||||
#define CASE_DATA_INVALID 0xffffffffUL
|
||||
|
|
|
|||
Loading…
Reference in New Issue