brewco/devices.h@43a8ecb53637
brewco/devices.h
Sat, 12 Dec 2015 22:17:25 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sat, 12 Dec 2015 22:17:25 +0100
- changeset 458
- 43a8ecb53637
- parent 434
-
eb724767860d
- permissions
- -rw-r--r--
Fixes for compiling on Raspberry.
#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