Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
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
Software for White Rabbit PTP Core
Commits
c9a41892
Commit
c9a41892
authored
Oct 19, 2012
by
Aurelio Colosimo
Committed by
Alessandro Rubini
Feb 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused include/timer.h and move TICS_PER_SECOND
This also changes ptp-noposix as needed
parent
f9703570
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
14 deletions
+4
-14
syscon.h
include/syscon.h
+1
-0
timer.h
include/timer.h
+0
-11
monitor.c
monitor/monitor.c
+1
-1
ptp-noposix
ptp-noposix
+1
-1
wrc_ptp.c
wrc_ptp.c
+1
-1
No files found.
include/syscon.h
View file @
c9a41892
...
...
@@ -32,6 +32,7 @@ struct s_i2c_if {
extern
struct
s_i2c_if
i2c_if
[
2
];
#define TICS_PER_SECOND 1000
void
timer_init
(
uint32_t
enable
);
uint32_t
timer_get_tics
();
void
timer_delay
(
uint32_t
how_long
);
...
...
include/timer.h
deleted
100644 → 0
View file @
f9703570
#ifndef __TIMER_H
#define __TIMER_H
#include "types.h"
#define TICS_PER_SECOND 1000
uint32_t
timer_get_tics
();
void
timer_delay
(
uint32_t
how_long
);
#endif
monitor/monitor.c
View file @
c9a41892
...
...
@@ -17,7 +17,7 @@
#include "minic.h"
#include "pps_gen.h"
#include "util.h"
#include "
timer
.h"
#include "
syscon
.h"
#include "onewire.h"
#define UI_REFRESH_PERIOD TICS_PER_SECOND
/* 1 sec */
...
...
ptp-noposix
@
1e2c71d1
Subproject commit
5c104cc9d7258fa43648dddcdc803a27334522d8
Subproject commit
1e2c71d1f0e1094adc6c2eb46e30d4164262f85c
wrc_ptp.c
View file @
c9a41892
...
...
@@ -13,7 +13,7 @@
#include "ptpd.h"
#include "ptpd_netif.h"
#include "
timer
.h"
#include "
syscon
.h"
#include "softpll_ng.h"
#include "wrc_ptp.h"
#include "pps_gen.h"
...
...
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