Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-slsdetector
Commits
8e7ba1d3
Commit
8e7ba1d3
authored
Jan 18, 2021
by
Alejandro Homs Puron
Committed by
operator for beamline
Jan 18, 2021
Browse files
BebTools: better debug in BebFpgaMem::read
parent
7c7326c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SlsDetectorBebTools.cpp
View file @
8e7ba1d3
...
...
@@ -110,7 +110,8 @@ unsigned long BebFpgaMem::read(unsigned long addr)
is
>>
hex
>>
phys_addr
>>
virt_addr
>>
val
;
if
(
phys_addr
!=
addr
)
THROW_HW_ERROR
(
Error
)
<<
"addr mismatch: "
<<
DEB_VAR2
(
phys_addr
,
addr
);
<<
DEB_VAR2
(
DebHex
(
phys_addr
),
DebHex
(
addr
));
DEB_RETURN
()
<<
DEB_VAR1
(
DEB_HEX
(
val
));
return
val
;
}
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment