Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nuttx-apps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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-apps
Commits
0b14e81b
Commit
0b14e81b
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
apps/examples/cc3000 update from David Sidrane
parent
ea93f20f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/cc3000/cc3000basic.c
+5
-3
5 additions, 3 deletions
examples/cc3000/cc3000basic.c
with
5 additions
and
3 deletions
examples/cc3000/cc3000basic.c
+
5
−
3
View file @
0b14e81b
...
...
@@ -144,9 +144,7 @@ static struct mallinfo mmprevious;
* Private Functions
****************************************************************************/
#ifndef CONFIG_EXAMPLE_CC3000_MEM_CHECK
# define stkmon_disp()
#else
#ifdef CONFIG_EXAMPLE_CC3000_MEM_CHECK
static
void
show_memory_usage
(
struct
mallinfo
*
mmbefore
,
struct
mallinfo
*
mmafter
)
{
...
...
@@ -181,6 +179,7 @@ static void _stkmon_disp(FAR struct tcb_s *tcb, FAR void *arg)
tcb
->
pid
,
tcb
->
adj_stack_size
,
up_check_tcbstack
(
tcb
));
#endif
}
#endif
static
bool
wait
(
long
timeoutMs
,
volatile
unsigned
long
*
what
,
volatile
unsigned
long
is
)
...
...
@@ -228,6 +227,9 @@ static bool wait_on(long timeoutMs, volatile unsigned long *what,
* Public Functions
****************************************************************************/
#ifndef CONFIG_EXAMPLE_CC3000_MEM_CHECK
# define stkmon_disp()
#else
void
stkmon_disp
(
void
)
{
#if CONFIG_TASK_NAME_SIZE > 0
...
...
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