apps/examples/cc3000 update from David Sidrane
This commit is contained in:
parent
ea93f20f39
commit
0b14e81b56
@ -144,9 +144,7 @@ static struct mallinfo mmprevious;
|
|||||||
* Private Functions
|
* Private Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef CONFIG_EXAMPLE_CC3000_MEM_CHECK
|
#ifdef CONFIG_EXAMPLE_CC3000_MEM_CHECK
|
||||||
# define stkmon_disp()
|
|
||||||
#else
|
|
||||||
static void show_memory_usage(struct mallinfo *mmbefore,
|
static void show_memory_usage(struct mallinfo *mmbefore,
|
||||||
struct mallinfo *mmafter)
|
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));
|
tcb->pid, tcb->adj_stack_size, up_check_tcbstack(tcb));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool wait(long timeoutMs, volatile unsigned long *what,
|
static bool wait(long timeoutMs, volatile unsigned long *what,
|
||||||
volatile unsigned long is)
|
volatile unsigned long is)
|
||||||
@ -228,6 +227,9 @@ static bool wait_on(long timeoutMs, volatile unsigned long *what,
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef CONFIG_EXAMPLE_CC3000_MEM_CHECK
|
||||||
|
# define stkmon_disp()
|
||||||
|
#else
|
||||||
void stkmon_disp(void)
|
void stkmon_disp(void)
|
||||||
{
|
{
|
||||||
#if CONFIG_TASK_NAME_SIZE > 0
|
#if CONFIG_TASK_NAME_SIZE > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user