Tue, 02 Apr 2024 15:03:12 +0200
Added one-wire thread and some old state table macro's. The state machine first state scans new one-wire devices and stores them in a linked list.
#ifndef _BREWPANEL_H #define _BREWPANEL_H #define TRUE 1 #define FALSE 0 #include "../config.h" #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <stdarg.h> #include <string.h> #include <ctype.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/socket.h> #include <arpa/inet.h> #include <sys/un.h> #include <time.h> #include <fcntl.h> #include <syslog.h> #include <unistd.h> #include <errno.h> #include <signal.h> #include <getopt.h> #include <limits.h> #include <math.h> #ifdef HAVE_SDL2_SDL_H #include <SDL.h> #include <SDL_ttf.h> #endif #endif