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
163c9461
Commit
163c9461
authored
Sep 13, 2021
by
Sarah Seif El Nasr
Browse files
DEBUG - trying with just the page toggle
parent
77ef7f5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
HWInterface/CbcInterface.cc
View file @
163c9461
...
...
@@ -692,7 +692,8 @@ bool CbcInterface::WriteChipMultReg(Chip* pCbc, const std::vector<std::pair<std:
auto
cIter
=
fPageMap
.
find
(
cAddress
);
if
(
cIter
==
fPageMap
.
end
())
{
uint8_t
cDefaultPage
=
0
;
uint8_t
cDefaultPage
=
ReadChipReg
(
pCbc
,
"Page"
);
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Default page on CBC"
<<
+
pCbc
->
getId
()
<<
" on hybrid "
<<
+
pCbc
->
getHybridId
()
<<
" is "
<<
+
cDefaultPage
<<
RESET
;
fPageMap
.
insert
(
std
::
make_pair
(
cAddress
,
cDefaultPage
));
}
cIter
=
fPageMap
.
find
(
cAddress
);
...
...
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