Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wrpc-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
wr-cores
wrpc-sw
Commits
adaece69
Commit
adaece69
authored
Feb 10, 2014
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move declaration of external wrc_ui_refperiod to wrc.h
parent
913554dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
wrc.h
include/wrc.h
+3
-0
monitor.c
monitor/monitor.c
+0
-2
monitor_ppsi.c
monitor/monitor_ppsi.c
+0
-2
cmd_refresh.c
shell/cmd_refresh.c
+0
-2
No files found.
include/wrc.h
View file @
adaece69
...
...
@@ -35,5 +35,8 @@ extern int abs(int val);
extern
void
wr_servo_reset
(
void
);
void
update_rx_queues
(
void
);
/* refresh period for _gui_ and _stat_ commands */
extern
int
wrc_ui_refperiod
;
#endif
/* __WRC_H__ */
monitor/monitor.c
View file @
adaece69
...
...
@@ -23,8 +23,6 @@
#include "lib/ipv4.h"
extern
int
wrc_ui_refperiod
;
#define PRINT64_FACTOR 1000000000
char
*
print64
(
unsigned
long
long
x
)
{
...
...
monitor/monitor_ppsi.c
View file @
adaece69
...
...
@@ -23,8 +23,6 @@
#include "hal_exports.h"
#include "lib/ipv4.h"
extern
int
wrc_ui_refperiod
;
struct
ptpdexp_sync_state_t
;
extern
ptpdexp_sync_state_t
cur_servo_state
;
extern
int
wrc_man_phase
;
...
...
shell/cmd_refresh.c
View file @
adaece69
...
...
@@ -14,8 +14,6 @@
#include <wrc.h>
#include "shell.h"
extern
int
wrc_ui_refperiod
;
static
int
cmd_refresh
(
const
char
*
args
[])
{
int
sec
;
...
...
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