From 5233759836d12358acb7f73b798c9cadf72934fa Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 6 Feb 2015 14:51:34 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7671 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/shell.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/various/shell.h b/os/various/shell.h index 17ce2312b..29d20db5e 100644 --- a/os/various/shell.h +++ b/os/various/shell.h @@ -71,7 +71,9 @@ extern "C" { #endif void shellInit(void); void shellExit(msg_t msg); +#if CH_CFG_USE_HEAP && CH_CFG_USE_DYNAMIC thread_t *shellCreate(const ShellConfig *scp, size_t size, tprio_t prio); +#endif thread_t *shellCreateStatic(const ShellConfig *scp, void *wsp, size_t size, tprio_t prio); bool shellGetLine(BaseSequentialStream *chp, char *line, unsigned size); -- cgit v1.2.3