aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-04-30 16:22:08 +0300
committerAvi Levkovich <avi@twine-s.com>2019-04-30 16:22:08 +0300
commitbe50a5b72cedd1afc0a14d36a468e8b04bf9a37f (patch)
treed1cb6b95d0ee4a00dc7867ab953b6f87b8214457 /Software/Embedded_SW/Embedded/Modules/Control
parent2308c8ba08fc31bb0451ff60341fd951b2b84b06 (diff)
downloadTango-be50a5b72cedd1afc0a14d36a468e8b04bf9a37f.tar.gz
Tango-be50a5b72cedd1afc0a14d36a468e8b04bf9a37f.zip
Add the funtion Ink_Cart_Led to control the Ink led
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 193769265..916d33772 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -48,6 +48,7 @@
#include "Common/SWUpdate/FileSystem.h"
#include "Communication/Connection.h"
+#include "Modules/General/buttons.h"
Task_Handle Millisecond_Task_Handle;
/******************** Definitions ********************************************/
@@ -514,6 +515,7 @@ uint32_t MillisecLowLoop(uint32_t tick)
{
Speed_Data = Calculate_Speed_Sensor_Velocity();
Read_Buttons_Reg();
+ Ink_Cart_Led();
for (Sensor_i = 0;Sensor_i < MAX_TEMPERATURE_SENSOR_ID;Sensor_i++)
{
MillisecUpdateTemperatures (Sensor_i,TemperatureSensorRead(Sensor_i));