thermferm/devices.h

Thu, 19 Jul 2018 12:47:52 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 19 Jul 2018 12:47:52 +0200
changeset 545
c382a6c58c20
parent 392
034746506c3d
child 648
62c5ed1b9cfd
permissions
-rw-r--r--

Fixed compiling whithout mqtt support.

#ifndef MY_DEVICES_H
#define	MY_DEVICES_H


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

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

#endif

mercurial