Commit a986e0fd authored by Peter Jansweijer's avatar Peter Jansweijer

make wr_s_lock_timeout board dependent

parent 49833dde
......@@ -14,6 +14,7 @@
#define __WREXT_WR_CONSTANTS_H__
#include <limits.h>
#include <board.h>
#define WR_IS_CALIBRATED 0x04
#define WR_IS_WR_MODE 0x08
......@@ -31,10 +32,8 @@
#define WR_M_LOCK_TIMEOUT_MS 15000
/* Special case for eRTM14 and wr2rf.
* Where it can take more than 15sec to sync PLL */
#if CONFIG_TARGET_ERTM14 || CONFIG_TARGET_WR2RF_VME
#define WR_S_LOCK_TIMEOUT_MS 30000
#ifdef BOARD_WR_S_LOCK_TIMEOUT_MS
#define WR_S_LOCK_TIMEOUT_MS BOARD_WR_S_LOCK_TIMEOUT_MS
#else
#define WR_S_LOCK_TIMEOUT_MS 15000
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment