thermferm/devices.h

Mon, 18 Aug 2014 15:10:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 18 Aug 2014 15:10:09 +0200
changeset 245
b01b6238eb67
parent 179
417ee898fb02
child 392
034746506c3d
permissions
-rw-r--r--

You can now safely add and remove units on a running system.

#ifndef MY_DEVICES_H
#define	MY_DEVICES_H


int device_out(char *, int);
int devices_detect(void);

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

#endif

mercurial