Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
d49d61be
Commit
d49d61be
authored
18 years ago
by
wierenga
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 972
Reduce log output.
parent
4da77396
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAC/APL/PIC/RSPDriver/src/TDSStatusRead.cc
+1
-1
1 addition, 1 deletion
MAC/APL/PIC/RSPDriver/src/TDSStatusRead.cc
MAC/APL/PIC/RSPDriver/src/TDSStatusWrite.cc
+0
-3
0 additions, 3 deletions
MAC/APL/PIC/RSPDriver/src/TDSStatusWrite.cc
with
1 addition
and
4 deletions
MAC/APL/PIC/RSPDriver/src/TDSStatusRead.cc
+
1
−
1
View file @
d49d61be
...
@@ -122,7 +122,7 @@ GCFEvent::TResult TDSStatusRead::handleack(GCFEvent& event, GCFPortInterface& /*
...
@@ -122,7 +122,7 @@ GCFEvent::TResult TDSStatusRead::handleack(GCFEvent& event, GCFPortInterface& /*
status
.
board
()(
getBoardId
()).
invalid
=
1
;
status
.
board
()(
getBoardId
()).
invalid
=
1
;
Cache
::
getInstance
().
getState
().
tdstatusread
().
read_error
(
getBoardId
());
Cache
::
getInstance
().
getState
().
tdstatusread
().
read_error
(
getBoardId
());
}
else
{
}
else
{
LOG_
INFO
(
formatString
(
"LOCK: 0x%02x"
,
ack
.
result
[
STATUS_INDEX
]));
LOG_
DEBUG
(
formatString
(
"LOCK: 0x%02x"
,
ack
.
result
[
STATUS_INDEX
]));
memcpy
(
&
status
.
board
()(
getBoardId
()),
&
ack
.
result
+
STATUS_INDEX
,
sizeof
(
TDBoardStatus
));
memcpy
(
&
status
.
board
()(
getBoardId
()),
&
ack
.
result
+
STATUS_INDEX
,
sizeof
(
TDBoardStatus
));
Cache
::
getInstance
().
getState
().
tdstatusread
().
read_ack
(
getBoardId
());
Cache
::
getInstance
().
getState
().
tdstatusread
().
read_ack
(
getBoardId
());
}
}
...
...
This diff is collapsed.
Click to expand it.
MAC/APL/PIC/RSPDriver/src/TDSStatusWrite.cc
+
0
−
3
View file @
d49d61be
...
@@ -91,9 +91,6 @@ void TDSStatusWrite::sendrequest()
...
@@ -91,9 +91,6 @@ void TDSStatusWrite::sendrequest()
tdsprotocol
.
hdr
.
set
(
MEPHeader
::
TDS_PROTOCOL_HDR
,
MEPHeader
::
DST_RSP
,
MEPHeader
::
WRITE
,
sizeof
(
tds_readstatus
),
0
);
tdsprotocol
.
hdr
.
set
(
MEPHeader
::
TDS_PROTOCOL_HDR
,
MEPHeader
::
DST_RSP
,
MEPHeader
::
WRITE
,
sizeof
(
tds_readstatus
),
0
);
tdsprotocol
.
protocol
.
setBuffer
((
char
*
)
buf
,
sizeof
(
tds_readstatus
));
tdsprotocol
.
protocol
.
setBuffer
((
char
*
)
buf
,
sizeof
(
tds_readstatus
));
// indicate that we're initialising the hardware
LOG_INFO_STR
(
"Reading lock detect on board "
<<
getBoardId
());
m_hdr
=
tdsprotocol
.
hdr
;
// remember header to match with ack
m_hdr
=
tdsprotocol
.
hdr
;
// remember header to match with ack
getBoardPort
().
send
(
tdsprotocol
);
getBoardPort
().
send
(
tdsprotocol
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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