소스 검색

add a default parameter to function call.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1187 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 14 년 전
부모
커밋
f1a255b4be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/finsh/finsh_ops.c

+ 1 - 1
components/finsh/finsh_ops.c

@@ -451,7 +451,7 @@ void OP_call()
 	switch (parameters)
 	{
 	case 0:
-		r = f();
+		r = f(0);
 		break;
 
 	case 1: