aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/includes
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 21:32:07 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 21:32:07 +0200
commitce53fa9f958f0160eeb91a9282e66cb2c59827a8 (patch)
treea738353c251c0305633aea96fbdd7b74276a67c5 /src/common/includes
parent310c2837836d24e1335eafed4fda2701570c1760 (diff)
downloadglutte-o-matic-ce53fa9f958f0160eeb91a9282e66cb2c59827a8.tar.gz
glutte-o-matic-ce53fa9f958f0160eeb91a9282e66cb2c59827a8.tar.bz2
glutte-o-matic-ce53fa9f958f0160eeb91a9282e66cb2c59827a8.zip
Make objects for common/ leds temperature
Diffstat (limited to 'src/common/includes')
-rw-r--r--src/common/includes/GPIO/temperature.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/common/includes/GPIO/temperature.h b/src/common/includes/GPIO/temperature.h
index a054fab..a67d16b 100644
--- a/src/common/includes/GPIO/temperature.h
+++ b/src/common/includes/GPIO/temperature.h
@@ -22,11 +22,11 @@
* SOFTWARE.
*/
+#pragma once
#include <stdint.h>
-#ifndef __TEMPERATURE_H
-#define __TEMPERATURE_H
-
+extern float _temperature_last_value;
+extern int _temperature_valid;
// Setup communication and temperature
void temperature_init();
@@ -37,5 +37,3 @@ int temperature_valid();
// Get current temperature
float temperature_get();
-#endif // __TEMPERATURE_H
-