From eb434d3a2db37d47df2d29e597e92900fdf84af8 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Wed, 23 Dec 2020 09:33:50 +0200 Subject: Update BTSR --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index ad5a1d5ca..b85bb9824 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -72,6 +72,7 @@ #include #include #include +#include "Drivers/Uart_Comm/BTSR/BTSR.h" Task_Handle Millisecond_Task_Handle; /******************** Definitions ********************************************/ @@ -723,6 +724,11 @@ uint32_t MillisecLowLoop(uint32_t tick) } } #endif + + #ifdef USE_UART4_FOR_BTSR + //call every 100mSec + BTSR_State_Machine(0x01); + #endif } if (Gradient_Tick) DispensersCollectionCall(); -- cgit v1.3.1