aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-06-30 10:11:59 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-06-30 10:11:59 +0300
commit31eb2421db55f356d67a75bf8c2c1f74802f5d86 (patch)
tree3138b3ae23836d0b1da9a9f819d39d2040837045 /Software/Embedded_SW/Embedded/Main.c
parent2a72d2b881503a077670b3703a8f360294136ca0 (diff)
downloadTango-31eb2421db55f356d67a75bf8c2c1f74802f5d86.tar.gz
Tango-31eb2421db55f356d67a75bf8c2c1f74802f5d86.zip
Version 1.4.1.1 improve watchdog/DFU handling (works, not great)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index ba4b3ebf0..ebeb7d718 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -74,8 +74,6 @@
#include "Modules/General/buttons.h"
#include "Modules/Waste/Waste.h"
#include <Drivers/I2C_Communication/Dispenser_Card/IO_Ports/Dispenser_IO.h>
-#define WATCHDOG
-#define FPGA_WATCHDOG
//*****************************************************************************
@@ -249,7 +247,7 @@ int main(void)
#endif
#ifdef WATCHDOG
- InitWatchdog(ui32SysClock*10);
+ InitWatchdog(ui32SysClock*3);
#endif
//FlashInitAndLoad();