Mercurial > hg > beaglert
comparison projects/d-box/sensors.h @ 15:901d205d1a3c
Updated to latest PRU library; external PRU file no longer needed. Also catch SIGTERM as well as SIGINT to clean up gracefully.
author | andrewm |
---|---|
date | Sat, 07 Feb 2015 16:41:56 +0000 |
parents | 8a575ba3ab52 |
children |
comparison
equal
deleted
inserted
replaced
14:06f93bef7dd2 | 15:901d205d1a3c |
---|---|
8 #ifndef SENSORS_H_ | 8 #ifndef SENSORS_H_ |
9 #define SENSORS_H_ | 9 #define SENSORS_H_ |
10 | 10 |
11 #include "config.h" | 11 #include "config.h" |
12 | 12 |
13 int initSensorLoop(int sensorAddress0, int sensorAddress1, bool useNewSensors); | 13 int initSensorLoop(int sensorAddress0, int sensorAddress1, int sensorType); |
14 | 14 |
15 void sensorLoop(void *); | 15 void sensorLoop(void *); |
16 void *keyboardLoop(void *); | 16 void *keyboardLoop(void *); |
17 | 17 |
18 | 18 |