Merge pull request #7006 from OTAkeys/pr/fix_shell_no_echo_2017.04

sys/shell: fix build when SHELL_NO_ECHO is defined (Backport of #7005)
This commit is contained in:
Alexandre Abadie 2017-05-12 14:25:25 +02:00 committed by GitHub
commit c55a67e657

View File

@ -32,7 +32,7 @@
#include "shell.h"
#include "shell_commands.h"
#ifndef SHELL_NO_ECHO
#if !defined(SHELL_NO_ECHO) || !defined(SHELL_NO_PROMPT)
#ifdef MODULE_NEWLIB
/* use local copy of putchar, as it seems to be inlined,
* enlarging code by 50% */