mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 07:15:20 +00:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue