Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha - Software
Commits
17eb1fb8
Commit
17eb1fb8
authored
Sep 12, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: use cplusplus-friendly headers
parent
c3b149d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
fdelay-lib.h
lib/fdelay-lib.h
+12
-2
No files found.
lib/fdelay-lib.h
View file @
17eb1fb8
...
...
@@ -11,6 +11,14 @@
*/
#ifndef __FDELAY_H__
#define __FDELAY_H__
/**
* Most of the client are written in C++
*/
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
#include <stdint.h>
#include <fine-delay.h>
...
...
@@ -165,8 +173,10 @@ static inline int __fdelay_command(struct __fdelay_board *b, uint32_t cmd)
{
return
fdelay_sysfs_set
(
b
,
"command"
,
&
cmd
);
}
#endif
/* FDELAY_INTERNAL */
#ifdef __cplusplus
}
#endif
/* __cplusplus */
#endif
/* FDELAY_INTERNAL */
#endif
/* __FDELAY_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