Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
wr2rf-vme
Commits
658e7551
Commit
658e7551
authored
Nov 23, 2021
by
Karol Adrianek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwr2rf/wr2rf: bug fix for reading softstart/softstop debug signals
parent
fd40a823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wr2rf.c
software/libwr2rf/wr2rf.c
+3
-3
No files found.
software/libwr2rf/wr2rf.c
View file @
658e7551
...
...
@@ -2658,12 +2658,12 @@ lemo_disp_dbg(struct libwr2rf_dev *dev, struct strb *strb, unsigned lemo)
val
=
libwr2rf_read16
(
dev
,
WR2RF_VME_REGS_INIT
+
WR2RF_INIT_REGS_TMGIO1
+
lemo
*
2
);
strb_printf
(
strb
,
"out: "
);
if
(
val
==
(
1
<<
(
LIBWR2RF_LEMO_DBG_WRS_SOFTSTOP
-
1
)
))
{
if
(
val
==
(
1
<<
LIBWR2RF_LEMO_DBG_WRS_SOFTSTOP
))
{
unsigned
vtu
;
strb_printf
(
strb
,
"softstop"
);
vtu
=
libwr2rf_read16
(
dev
,
WR2RF_VME_REGS_INIT
+
WR2RF_INIT_REGS_SOFTST
ART
);
vtu
=
libwr2rf_read16
(
dev
,
WR2RF_VME_REGS_INIT
+
WR2RF_INIT_REGS_SOFTST
OP
);
switch
(
vtu
)
{
case
LIBWR2RF_RF1T1_SOFTSTOP_SEL
:
...
...
@@ -2683,7 +2683,7 @@ lemo_disp_dbg(struct libwr2rf_dev *dev, struct strb *strb, unsigned lemo)
break
;
}
}
else
if
(
val
==
(
1
<<
(
LIBWR2RF_LEMO_DBG_WRS_SOFTSTART
-
1
)
))
{
else
if
(
val
==
(
1
<<
LIBWR2RF_LEMO_DBG_WRS_SOFTSTART
))
{
unsigned
vtu
;
strb_printf
(
strb
,
"softstart"
);
...
...
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