thermferm/server.h

Sun, 07 Apr 2024 20:26:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 07 Apr 2024 20:26:37 +0200
changeset 666
48cc8868f9f4
parent 106
1bd9a16f5061
permissions
-rw-r--r--

Added commandline switch --foreground, the --debug now only activates extra debug logging. No more console output. The thermferm process uses a state table, this makes the code more readable and have less large functions.

#ifndef	SERVER_H
#define	SERVER_H


#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_server_loop);
#else
void *my_server_loop(void *);
#endif


#endif

mercurial