thermferm/simulator.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 259
b7c967359771
child 714
24749c296a50
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 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

mercurial