From b7c0b773fc9cf7ddec8636088712cc9a49a3d789 Mon Sep 17 00:00:00 2001 From: dylan <497357846@qq.com> Date: Tue, 18 Aug 2020 08:18:56 +0800 Subject: [PATCH] study: add study_get_temperature() --- study/study.c | 5 +++++ study/study.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/study/study.c b/study/study.c index 40f42b6..682ab39 100644 --- a/study/study.c +++ b/study/study.c @@ -14,4 +14,9 @@ uint8_t study_get_class(void) uint8_t study_homework(void) { +} + +uint8_t study_get_temperature(void) +{ + return check_temperature(); } \ No newline at end of file diff --git a/study/study.h b/study/study.h index 7f44718..b42f029 100644 --- a/study/study.h +++ b/study/study.h @@ -3,4 +3,5 @@ void study_set_class(uint8_t class); uint8_t study_get_class(void); -uint8_t study_homework(void); \ No newline at end of file +uint8_t study_homework(void); +uint8_t study_get_temperature(void); \ No newline at end of file