mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
This commit is contained in:
@@ -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.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
|||||||
@@ -631,7 +631,7 @@ static ssize_t proc_stack(FAR struct proc_file_s *procfile,
|
|||||||
buffer += copysize;
|
buffer += copysize;
|
||||||
remaining -= copysize;
|
remaining -= copysize;
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_COLORATION
|
#ifdef CONFIG_STACK_COLORATION
|
||||||
if (totalsize >= buflen)
|
if (totalsize >= buflen)
|
||||||
{
|
{
|
||||||
return totalsize;
|
return totalsize;
|
||||||
|
|||||||
Reference in New Issue
Block a user