diff options
| author | bernard.xiong <[email protected]> | 2010-12-09 07:54:30 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-12-09 07:54:30 +0000 |
| commit | f1a255b4be6a0e12618fed1e4b1120de8ef5824b (patch) | |
| tree | 47df3ff63a797543b962ce3dc43958c245789ee9 | |
| parent | 83bb6a11bb16bd785bd1aecbd93f11be231a3f39 (diff) | |
add a default parameter to function call.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1187 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | components/finsh/finsh_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/finsh_ops.c b/components/finsh/finsh_ops.c index a56935f846..82802b9912 100644 --- a/components/finsh/finsh_ops.c +++ b/components/finsh/finsh_ops.c @@ -451,7 +451,7 @@ void OP_call() switch (parameters) { case 0: - r = f(); + r = f(0); break; case 1: |
