Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
This commit is contained in:
parent
d68594d6fa
commit
404fef74d9
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/sam34/sam_udphs.h
|
||||
* arch/arm/src/sam34/sam_udp.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
@ -631,7 +631,7 @@ static ssize_t proc_stack(FAR struct proc_file_s *procfile,
|
||||
buffer += copysize;
|
||||
remaining -= copysize;
|
||||
|
||||
#ifdef CONFIG_DEBUG_COLORATION
|
||||
#ifdef CONFIG_STACK_COLORATION
|
||||
if (totalsize >= buflen)
|
||||
{
|
||||
return totalsize;
|
||||
|
Loading…
Reference in New Issue
Block a user