thermferm/devices.h

Tue, 15 Sep 2015 14:44:21 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 15 Sep 2015 14:44:21 +0200
changeset 392
034746506c3d
parent 179
417ee898fb02
child 648
62c5ed1b9cfd
permissions
-rw-r--r--

Fixed initialisation of new GPIO devices.

#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