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/simulator | |
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/simulator')
-rw-r--r-- | src/simulator/src/GPIO/leds.c | 2 | ||||
-rw-r--r-- | src/simulator/src/GPIO/temperature.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/simulator/src/GPIO/leds.c b/src/simulator/src/GPIO/leds.c index 874cc19..0bc5300 100644 --- a/src/simulator/src/GPIO/leds.c +++ b/src/simulator/src/GPIO/leds.c @@ -1,4 +1,4 @@ -#include "../../../common/src/GPIO/leds.c" +#include "GPIO/leds.h" extern char led_blue; diff --git a/src/simulator/src/GPIO/temperature.c b/src/simulator/src/GPIO/temperature.c index 6befb2a..7c343be 100644 --- a/src/simulator/src/GPIO/temperature.c +++ b/src/simulator/src/GPIO/temperature.c @@ -1,9 +1,11 @@ -#include "../../../common/src/GPIO/temperature.c" +#include "GPIO/temperature.h" +#include "FreeRTOS.h" +#include "task.h" extern int gui_temperature_valid; extern float gui_temperature; -static void temperature_task(void *pvParameters) { +void temperature_task(void *pvParameters) { while (1) { |