Commit adaece69 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

move declaration of external wrc_ui_refperiod to wrc.h

parent 913554dc
...@@ -35,5 +35,8 @@ extern int abs(int val); ...@@ -35,5 +35,8 @@ extern int abs(int val);
extern void wr_servo_reset(void); extern void wr_servo_reset(void);
void update_rx_queues(void); void update_rx_queues(void);
/* refresh period for _gui_ and _stat_ commands */
extern int wrc_ui_refperiod;
#endif /* __WRC_H__ */ #endif /* __WRC_H__ */
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "lib/ipv4.h" #include "lib/ipv4.h"
extern int wrc_ui_refperiod;
#define PRINT64_FACTOR 1000000000 #define PRINT64_FACTOR 1000000000
char* print64(unsigned long long x) char* print64(unsigned long long x)
{ {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "hal_exports.h" #include "hal_exports.h"
#include "lib/ipv4.h" #include "lib/ipv4.h"
extern int wrc_ui_refperiod;
struct ptpdexp_sync_state_t; struct ptpdexp_sync_state_t;
extern ptpdexp_sync_state_t cur_servo_state; extern ptpdexp_sync_state_t cur_servo_state;
extern int wrc_man_phase; extern int wrc_man_phase;
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#include <wrc.h> #include <wrc.h>
#include "shell.h" #include "shell.h"
extern int wrc_ui_refperiod;
static int cmd_refresh(const char *args[]) static int cmd_refresh(const char *args[])
{ {
int sec; int sec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment