Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
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
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
5363d061
Commit
5363d061
authored
8 years ago
by
Sebastien Lorquet
Browse files
Options
Downloads
Patches
Plain Diff
Fix warnings
parent
8e029f01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/timers/timer.c
+2
-3
2 additions, 3 deletions
drivers/timers/timer.c
include/nuttx/timers/timer.h
+1
-0
1 addition, 0 deletions
include/nuttx/timers/timer.h
with
3 additions
and
3 deletions
drivers/timers/timer.c
+
2
−
3
View file @
5363d061
...
...
@@ -131,7 +131,6 @@ static bool timer_notifier(FAR uint32_t *next_interval_us, FAR void *arg)
#ifdef CONFIG_CAN_PASS_STRUCTS
union
sigval
value
;
#endif
int
ret
;
DEBUGASSERT
(
upper
!=
NULL
);
...
...
@@ -139,9 +138,9 @@ static bool timer_notifier(FAR uint32_t *next_interval_us, FAR void *arg)
#ifdef CONFIG_CAN_PASS_STRUCTS
value
.
sival_ptr
=
upper
->
arg
;
ret
=
sigqueue
(
upper
->
pid
,
upper
->
signo
,
value
);
(
void
)
sigqueue
(
upper
->
pid
,
upper
->
signo
,
value
);
#else
ret
=
sigqueue
(
upper
->
pid
,
upper
->
signo
,
upper
->
arg
);
(
void
)
sigqueue
(
upper
->
pid
,
upper
->
signo
,
upper
->
arg
);
#endif
return
true
;
...
...
This diff is collapsed.
Click to expand it.
include/nuttx/timers/timer.h
+
1
−
0
View file @
5363d061
...
...
@@ -46,6 +46,7 @@
#include
<nuttx/irq.h>
#include
<nuttx/fs/ioctl.h>
#include
<stdbool.h>
#include
<sys/types.h>
#ifdef CONFIG_TIMER
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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