Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software for White Rabbit PTP Core
Manage
Activity
Members
Labels
Plan
Issues
39
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Software for White Rabbit PTP Core
Commits
c9a41892
Commit
c9a41892
authored
12 years ago
by
Aurelio Colosimo
Committed by
Alessandro Rubini
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
removed unused include/timer.h and move TICS_PER_SECOND
This also changes ptp-noposix as needed
parent
f9703570
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
include/syscon.h
+1
-0
1 addition, 0 deletions
include/syscon.h
include/timer.h
+0
-11
0 additions, 11 deletions
include/timer.h
monitor/monitor.c
+1
-1
1 addition, 1 deletion
monitor/monitor.c
ptp-noposix
+1
-1
1 addition, 1 deletion
ptp-noposix
wrc_ptp.c
+1
-1
1 addition, 1 deletion
wrc_ptp.c
with
4 additions
and
14 deletions
include/syscon.h
+
1
−
0
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
);
...
...
This diff is collapsed.
Click to expand it.
include/timer.h
deleted
100644 → 0
+
0
−
11
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
This diff is collapsed.
Click to expand it.
monitor/monitor.c
+
1
−
1
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 */
...
...
This diff is collapsed.
Click to expand it.
ptp-noposix
@
1e2c71d1
Subproject commit
5c104cc9d7258fa43648dddcdc803a27334522d8
Subproject commit
1e2c71d1f0e1094adc6c2eb46e30d4164262f85c
This diff is collapsed.
Click to expand it.
wrc_ptp.c
+
1
−
1
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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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