From 105ac7281a4e5556f87b696b0a4ededea8a030e4 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Mon, 17 Jun 2019 13:07:36 +0300 Subject: Add support for goto direction. use the function MotorGoToDir --- Software/Embedded_SW/Embedded/Main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Main.c') diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index 224e32a70..a4cee031d 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -74,7 +74,8 @@ #include "Modules/General/buttons.h" #include "Modules/Waste/Waste.h" #include -//#define WATCHDOG +#define WATCHDOG +#define FPGA_WATCHDOG //***************************************************************************** @@ -275,6 +276,9 @@ int main(void) //IDS_ModuleInit(); Valve_Set(VALVE_MIXCHIP_WASTECH, Mixer_Waste); +#ifndef FPGA_WATCHDOG + Control_WD(DISABLE,0); +#endif //////////////////////////// -- cgit v1.3.1