Browse Source

study: add study_get_temperature()

tags/v1.1.a
dylan 4 years ago
parent
commit
b7c0b773fc
2 changed files with 7 additions and 1 deletions
  1. +5
    -0
      study/study.c
  2. +2
    -1
      study/study.h

+ 5
- 0
study/study.c View File

@@ -14,4 +14,9 @@ uint8_t study_get_class(void)
uint8_t study_homework(void) uint8_t study_homework(void)
{ {
}

uint8_t study_get_temperature(void)
{
return check_temperature();
} }

+ 2
- 1
study/study.h View File

@@ -3,4 +3,5 @@
void study_set_class(uint8_t class); void study_set_class(uint8_t class);
uint8_t study_get_class(void); uint8_t study_get_class(void);


uint8_t study_homework(void);
uint8_t study_homework(void);
uint8_t study_get_temperature(void);

Loading…
Cancel
Save