thermferm/simulator.h@48cc8868f9f4
thermferm/simulator.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 259
-
b7c967359771
- child 714
-
24749c296a50
- 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 SIMULATOR_H
#define SIMULATOR_H
#ifdef USE_SIMULATOR
#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_simulator_loop);
#else
void *my_simulator_loop(void *);
#endif
#endif
#endif