From f1a255b4be6a0e12618fed1e4b1120de8ef5824b Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Thu, 9 Dec 2010 07:54:30 +0000 Subject: [PATCH] add a default parameter to function call. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1187 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/finsh/finsh_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finsh/finsh_ops.c b/components/finsh/finsh_ops.c index a56935f84..82802b991 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: