diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-06 14:51:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-06 14:51:34 +0000 |
commit | 5233759836d12358acb7f73b798c9cadf72934fa (patch) | |
tree | 365d730255546b70bad578107a27beab8401bf3c | |
parent | 611d3863c59ffa12aeb7fac02790181145fa28ab (diff) | |
download | ChibiOS-5233759836d12358acb7f73b798c9cadf72934fa.tar.gz ChibiOS-5233759836d12358acb7f73b798c9cadf72934fa.tar.bz2 ChibiOS-5233759836d12358acb7f73b798c9cadf72934fa.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7671 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/various/shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
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);
|