thermferm/devices.h

Fri, 15 Aug 2014 14:38:32 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 15 Aug 2014 14:38:32 +0200
changeset 241
4ba138737bf4
parent 179
417ee898fb02
child 392
034746506c3d
permissions
-rw-r--r--

Added thread locks to all LCD access functions. This seems to have fixed the LCD corruption problems.

#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