Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
14b812f5
Commit
14b812f5
authored
Aug 18, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUG: 1632] userspace/snmpd: display PTP OIDs even if GM is not able to lock to 10MHz
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
a0e412f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wrsPtpDataTable.c
userspace/snmpd/wrsPtpDataTable.c
+3
-1
No files found.
userspace/snmpd/wrsPtpDataTable.c
View file @
14b812f5
...
...
@@ -67,7 +67,9 @@ time_t wrsPtpDataTable_data_fill(unsigned int *n_rows)
/* check whether shmem is available */
if
(
!
shmem_ready_ppsi
())
{
snmp_log
(
LOG_ERR
,
"%s: Unable to read PPSI's shmem
\n
"
,
__func__
);
n_rows_local
=
0
;
/* Keep one empty instance. If set to 0 all PPSI related OIDs
* disappear */
n_rows_local
=
1
;
return
time_update
;
}
else
{
n_rows_local
=
WRS_MAX_N_SERVO_INSTANCES
;
...
...
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