Merge pull request #7005 from OTAkeys/pr/fix_shell_no_echo
sys/shell: fix build when SHELL_NO_ECHO is defined
This commit is contained in:
commit
d347ec04f5
@ -32,7 +32,7 @@
|
|||||||
#include "shell.h"
|
#include "shell.h"
|
||||||
#include "shell_commands.h"
|
#include "shell_commands.h"
|
||||||
|
|
||||||
#ifndef SHELL_NO_ECHO
|
#if !defined(SHELL_NO_ECHO) || !defined(SHELL_NO_PROMPT)
|
||||||
#ifdef MODULE_NEWLIB
|
#ifdef MODULE_NEWLIB
|
||||||
/* use local copy of putchar, as it seems to be inlined,
|
/* use local copy of putchar, as it seems to be inlined,
|
||||||
* enlarging code by 50% */
|
* enlarging code by 50% */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user