Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CaroloCup
FreeRTOSHAL
fhal-driver
Commits
0ea7f015
Commit
0ea7f015
authored
Mar 20, 2016
by
Andreas Werner
Browse files
add static to example driver
parent
33a5d209
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/example_prv.h
View file @
0ea7f015
...
...
@@ -114,20 +114,20 @@ HAL_DEFINE_GLOBAL_ARRAY(example);
* \param ns Driver namespace Variablenname
* \param index Index Variablenname
*/
# define EXAMPLE_INIT(ns, index) struct example *ns##_example_init(uint32_t index)
# define EXAMPLE_INIT(ns, index)
static
struct example *ns##_example_init(uint32_t index)
/**
* Define example_deinit() Implementation
* \param ns Driver namespace Variablenname
* \param p Instance Variablenname
*/
# define EXAMPLE_DEINIT(ns, p) int32_t ns##_example_deinit(struct example *p)
# define EXAMPLE_DEINIT(ns, p)
static
int32_t ns##_example_deinit(struct example *p)
/**
* Define example_funcname() Implementation
* \param ns Driver namespace Variablenname
* \param p Instance Variablenname
* \param param Param Variablenname
*/
# define EXAMPLE_FUNCNAME(ns, p, param) int32_t ns##_example_funcname(struct example *p, uint32_t param)
# define EXAMPLE_FUNCNAME(ns, p, param)
static
int32_t ns##_example_funcname(struct example *p, uint32_t param)
#endif
/**\}*/
#endif
Write
Preview
Supports
Markdown
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