mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
nshlib: disable nsh error print if NSH_DISABLE_ERROR_PRINT enabled
text data bss dec hex filename 398953 27088 4128 430169 69059 nuttx /* before */ 389241 27072 4128 420441 66a59 nuttx /* after */ -9712 -16 Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
|
||||
#undef CAN_PIPE_FROM_STD
|
||||
|
||||
#define g_dd "dd"
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
****************************************************************************/
|
||||
@@ -79,12 +81,6 @@ struct dd_s
|
||||
FAR uint8_t *buffer; /* Buffer of data to write to the output file */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
static const char g_dd[] = "dd";
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user