thermferm/devices.h

Sun, 20 Dec 2015 20:37:40 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 20 Dec 2015 20:37:40 +0100
changeset 464
4a624c071ca9
parent 392
034746506c3d
child 648
62c5ed1b9cfd
permissions
-rw-r--r--

Added file copy. Move home directory detection to the main program function. During opening of the main configuration file, backups are made, 10 revisions in total.

#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