Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beam Positoning Monitor - Software
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Beam Positoning Monitor - Software
Commits
f40dbda7
Commit
f40dbda7
authored
8 years ago
by
Lucas Russo
Browse files
Options
Downloads
Patches
Plain Diff
sm_io/*/trigger_iface/*: fix wrong TRANSM/RCV_LEN limits
parent
b6ec41f4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sm_io/modules/trigger_iface/sm_io_trigger_iface_exp.c
+4
-4
4 additions, 4 deletions
src/sm_io/modules/trigger_iface/sm_io_trigger_iface_exp.c
with
4 additions
and
4 deletions
src/sm_io/modules/trigger_iface/sm_io_trigger_iface_exp.c
+
4
−
4
View file @
f40dbda7
...
...
@@ -72,8 +72,8 @@ RW_PARAM_FUNC(trigger_iface, transm_count_rst) {
NO_FMT_FUNC
,
SET_FIELD
);
}
#define BPM_TRIGGER_IFACE_RCV_LEN_MIN
((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MIN
0
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
RW_PARAM_FUNC
(
trigger_iface
,
rcv_len
)
{
SET_GET_PARAM_CHANNEL
(
trigger_iface
,
WB_TRIGGER_IFACE_RAW_REG_OFFS
,
WB_TRIG_IFACE
,
CH0_CFG
,
RCV_LEN
,
TRIGGER_IFACE_CHAN_OFFSET
,
TRIGGER_IFACE_NUM_CHAN
,
MULT_BIT_PARAM
,
...
...
@@ -81,8 +81,8 @@ RW_PARAM_FUNC(trigger_iface, rcv_len) {
NO_FMT_FUNC
,
SET_FIELD
);
}
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MIN
((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MIN
0
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
RW_PARAM_FUNC
(
trigger_iface
,
transm_len
)
{
SET_GET_PARAM_CHANNEL
(
trigger_iface
,
WB_TRIGGER_IFACE_RAW_REG_OFFS
,
WB_TRIG_IFACE
,
CH0_CFG
,
TRANSM_LEN
,
TRIGGER_IFACE_CHAN_OFFSET
,
TRIGGER_IFACE_NUM_CHAN
,
MULT_BIT_PARAM
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment