Browse Source

dylan1: add study.c study.h

tags/V2.0
dylan 4 years ago
parent
commit
11d7e4b092
2 changed files with 14 additions and 0 deletions
  1. +10
    -0
      study/study.c
  2. +4
    -0
      study/study.h

+ 10
- 0
study/study.c View File

@@ -0,0 +1,10 @@
#include "study.h"
uint8_t g_class;
void study_set_class(uint8_t class)
{
g_class = class;
}
uint8_t study_get_class(void)
{
return g_class;
}

+ 4
- 0
study/study.h View File

@@ -0,0 +1,4 @@
#include "stdio.h"

void study_set_class(uint8_t class);
uint8_t study_get_class(void);

Loading…
Cancel
Save