From 49fa26548a6384743add44bd0b11cfe09bf378dd Mon Sep 17 00:00:00 2001 From: Neucrack Date: Tue, 29 May 2018 19:07:14 +0800 Subject: [PATCH] update demo --- demo/std/src/demo_std.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/std/src/demo_std.c b/demo/std/src/demo_std.c index 8786e7d..29ac176 100644 --- a/demo/std/src/demo_std.c +++ b/demo/std/src/demo_std.c @@ -83,8 +83,8 @@ void STD_TestTask() sscanf("456","%d",&read1); Trace(1,"read0:%d, read1:%d",read0,read1); - a = atan(1); - gcvt(a, 3, bufff); + double f = atan(1); + gcvt(f, 3, bufff); Trace(1,"atan(1) = %s",bufff);