thermferm/server.h@ca47c742a25d
thermferm/server.h
Wed, 03 Apr 2024 12:14:45 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Wed, 03 Apr 2024 12:14:45 +0200
- changeset 656
- ca47c742a25d
- parent 106
-
1bd9a16f5061
- permissions
- -rw-r--r--
One-wire thread is now the first to start. The devices_detect() function now uses the detected one-wire linked list instead of scan the sysfs. Base code for ds2413 added in the state table, needs rework.
#ifndef SERVER_H
#define SERVER_H
#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_server_loop);
#else
void *my_server_loop(void *);
#endif
#endif