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
ce50defd
Commit
ce50defd
authored
17 years ago
by
patacongo
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for SDCC
git-svn-id:
svn://svn.code.sf.net/p/nuttx/code/trunk@598
42af7a65-404d-4744-a932-0658087f49c3
parent
3dc0fee9
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
sched/wd_internal.h
+6
-7
6 additions, 7 deletions
sched/wd_internal.h
sched/wd_start.c
+1
-1
1 addition, 1 deletion
sched/wd_start.c
with
7 additions
and
8 deletions
sched/wd_internal.h
+
6
−
7
View file @
ce50defd
...
...
@@ -63,12 +63,12 @@
struct
wdog_s
{
struct
wdog_s
*
next
;
/* Support for singly linked lists. */
wdentry_t
func
;
/* Function to execute when delay expires */
int
lag
;
/* Timer associated with the delay */
boolean
active
;
/* TRUE if the watchdog is actively timing */
ubyte
argc
;
/* The number of parameters to pass */
uint32
parm
[
CONFIG_MAX_WDOGPARMS
];
FAR
struct
wdog_s
*
next
;
/* Support for singly linked lists. */
wdentry_t
func
;
/* Function to execute when delay expires */
int
lag
;
/* Timer associated with the delay */
boolean
active
;
/* TRUE if the watchdog is actively timing */
ubyte
argc
;
/* The number of parameters to pass */
uint32
parm
[
CONFIG_MAX_WDOGPARMS
];
};
typedef
struct
wdog_s
wdog_t
;
...
...
@@ -118,4 +118,3 @@ EXTERN void weak_function wd_timer(void);
#endif
#endif
/* __WD_INTERNAL_H */
This diff is collapsed.
Click to expand it.
sched/wd_start.c
+
1
−
1
View file @
ce50defd
...
...
@@ -192,7 +192,7 @@ STATUS wd_start(WDOG_ID wdog, int delay, wdentry_t wdentry, int argc, ...)
else
{
now
=
0
;
prev
=
curr
=
(
wdog_t
*
)
g_wdactivelist
.
head
;
prev
=
curr
=
(
FAR
wdog_t
*
)
g_wdactivelist
.
head
;
/* Advance to positive time */
...
...
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