summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-11-01 01:52:04 +0000
committer[email protected] <[email protected]>2011-11-01 01:52:04 +0000
commit4f62f6e568ec4535d79400e65e16d17bc48c13e7 (patch)
tree83d4c29b07a7a80c94eca436c182f0b03d857882 /examples
parent6aa93f460a8b1fc830449d90e46430eb0fffe803 (diff)
fix typo in examples/gui/demo_workbench.c
use RT_USING_FINSH micro to decide whether to compile FINSH functions or not. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1780 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples')
-rw-r--r--examples/gui/demo_workbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gui/demo_workbench.c b/examples/gui/demo_workbench.c
index 7a4fbbefb0..454ba8bd7c 100644
--- a/examples/gui/demo_workbench.c
+++ b/examples/gui/demo_workbench.c
@@ -127,7 +127,7 @@ void workbench_init()
}
}
-#ifdef RT_USING_RTGUI
+#ifdef RT_USING_FINSH
#include <finsh.h>
void workbench()
{