Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
a986e0fd
Commit
a986e0fd
authored
Dec 12, 2023
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make wr_s_lock_timeout board dependent
parent
49833dde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wr-constants.h
proto-ext-whiterabbit/wr-constants.h
+3
-4
No files found.
proto-ext-whiterabbit/wr-constants.h
View file @
a986e0fd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment