diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-05 21:32:07 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-05 21:32:07 +0200 |
commit | ce53fa9f958f0160eeb91a9282e66cb2c59827a8 (patch) | |
tree | a738353c251c0305633aea96fbdd7b74276a67c5 /src/common/includes | |
parent | 310c2837836d24e1335eafed4fda2701570c1760 (diff) | |
download | glutte-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.h | 8 |
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 - |