From 50ce1be72247a9b10e4ed55578e9f96aa0d23583 Mon Sep 17 00:00:00 2001 From: dylan <497357846@qq.com> Date: Mon, 10 Aug 2020 13:49:12 +0800 Subject: [PATCH 1/2] age.c change --- age.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/age.c b/age.c index 9144c94..f874d7d 100644 --- a/age.c +++ b/age.c @@ -6,5 +6,5 @@ void setAge(uint8_t age) } uint8_t getAge(void) { - return g_study; + return g_age; } \ No newline at end of file From eaed4014ac38e524085ca2b65097b2cd05ca2ebe Mon Sep 17 00:00:00 2001 From: dylan <497357846@qq.com> Date: Mon, 10 Aug 2020 13:51:07 +0800 Subject: [PATCH 2/2] age.c change --- age.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/age.c b/age.c index f874d7d..506d311 100644 --- a/age.c +++ b/age.c @@ -6,5 +6,5 @@ void setAge(uint8_t age) } uint8_t getAge(void) { - return g_age; + return g_age+1; } \ No newline at end of file