OSDN Git Service

ring.c read pointer no.2 add
[scilog/cpu2010.git] / mysts.h
1 /*
2  * main status
3  */
4 #ifndef __MYSTS_H__
5 #define __MYSTS_H__
6
7 #define STS_NOSYNC      0   // GPS TIME NOT FIXED
8 #define STS_SYNCNOW0    1
9 #define STS_SYNCNOW1    2
10 #define STS_SYNCWAIT    3
11 #define STS_SYNCED      4   // GPS TIME FIXED, AD SYNCED
12
13 extern char main_sts;
14
15 #define sts_set(s)  main_sts = s
16 #define sts_get()  main_sts
17
18 #endif
19
20
21