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
0b2fbd7a
Commit
0b2fbd7a
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix a DEBUGASSERTion
parent
89b5ef8d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch
+1
-1
1 addition, 1 deletion
arch
configs
+1
-1
1 addition, 1 deletion
configs
sched/wdog/wd_create.c
+3
-3
3 additions, 3 deletions
sched/wdog/wd_create.c
with
5 additions
and
5 deletions
arch
@
b2709988
Subproject commit
94705f285e98a1ec5ca66027be01eff2e1189e27
Subproject commit
b2709988e66303b69358f7b7a910905a6a7ff888
This diff is collapsed.
Click to expand it.
configs
@
fda2b226
Subproject commit
e3f37812a9a7595a7ddab1a625ebe857d104beb2
Subproject commit
fda2b2266521c5cf312aa37ed3c2cd03a4a5c1db
This diff is collapsed.
Click to expand it.
sched/wdog/wd_create.c
+
3
−
3
View file @
0b2fbd7a
...
...
@@ -115,18 +115,18 @@ WDOG_ID wd_create (void)
/* Did we get one? */
if
(
wdog
)
if
(
wdog
!=
NULL
)
{
/* Yes.. decrement the count of free, pre-allocated timers (all
* with interrupts disabled).
*/
DEBUGASSERT
(
g_wdnfree
>
0
&&
wdog
!=
NULL
);
DEBUGASSERT
(
g_wdnfree
>
0
);
g_wdnfree
--
;
/* Clear the forward link and all flags */
wdog
->
next
=
NULL
;
wdog
->
next
=
NULL
;
wdog
->
flags
=
0
;
}
else
...
...
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