diff options
| author | Avi Levkovich <avi@twine-s.com> | 2019-06-17 13:07:36 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2019-06-17 13:07:36 +0300 |
| commit | 105ac7281a4e5556f87b696b0a4ededea8a030e4 (patch) | |
| tree | 855442272cf5a8ebdfa42db177fada5553c2e939 /Software/Embedded_SW/Embedded/Main.c | |
| parent | f2cf6b075eea682ff202ce1c9fdcef771affec04 (diff) | |
| download | Tango-105ac7281a4e5556f87b696b0a4ededea8a030e4.tar.gz Tango-105ac7281a4e5556f87b696b0a4ededea8a030e4.zip | |
Add support for goto direction.
use the function MotorGoToDir
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <Drivers/I2C_Communication/Dispenser_Card/IO_Ports/Dispenser_IO.h> -//#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 //////////////////////////// |
