Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cms_tk_ph2
Ph2_ACF
Commits
88dc13ca
Commit
88dc13ca
authored
Sep 13, 2021
by
Sarah Seif El Nasr
Browse files
DEBUG - tryinng to fix page..
parent
c11fe7d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/RegisterTester.cc
View file @
88dc13ca
...
...
@@ -153,7 +153,7 @@ void RegisterTester::RegisterTest()
auto
cRegItem
=
cListItem
.
second
;
cRegItem
.
fValue
=
fReadoutChipInterface
->
ReadChipReg
(
cChip
,
cListItem
.
first
);
cList
.
push_back
(
std
::
make_pair
(
cListItem
.
first
,
cRegItem
));
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Default value after a hard reset of register "
<<
cListItem
.
first
<<
" is 0x"
LOG
(
DEBUG
)
<<
BOLDMAGENTA
<<
"Default value after a hard reset of register "
<<
cListItem
.
first
<<
" is 0x"
<<
std
::
hex
<<
+
cRegItem
.
fValue
<<
std
::
dec
<<
" value after configuration should be 0x"
<<
std
::
hex
<<
cListItem
.
second
.
fValue
<<
std
::
dec
<<
RESET
;
...
...
@@ -180,7 +180,6 @@ void RegisterTester::RegisterTest()
std
::
vector
<
int
>
cPageToggles
(
0
);
uint8_t
cPreviousPage
=
static_cast
<
CbcInterface
*>
(
fReadoutChipInterface
)
->
GetLastPage
(
cChip
);
continue
;
for
(
auto
cPage
:
cPages
)
{
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Going to select page "
<<
+
cPage
...
...
Write
Preview
Supports
Markdown
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