Sfoglia il codice sorgente

dylan1: add study.c study.h

tags/V2.0
dylan 4 anni fa
parent
commit
11d7e4b092
2 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. +10
    -0
      study/study.c
  2. +4
    -0
      study/study.h

+ 10
- 0
study/study.c Vedi 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 Vedi File

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

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

Loading…
Annulla
Salva