Skeleton of application, at least compiles

This commit is contained in:
ftc
2020-11-24 22:48:54 +03:00
parent 988adcec4a
commit bd5a629fde
24 changed files with 1788 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef GLOBALS_HEADER_FILE_INCLUDED
#define GLOBALS_HEADER_FILE_INCLUDED
#include "liblog.h"
const int REGISTER_ON_TEMP = 0;
const int REGISTER_OFF_TEMP = 1;
const int REGISTER_MODE = 2;
const int REGISTER_CUR_TEMP = 3;
const int REGISTER_CUR_STATE = 4;
const int REGISTER_SECONDARY_TEMP = 5;
extern int registers[65536];
extern pthread_mutex_t register_mutex;
extern LogFile mainlog;
#endif