aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/Utilities
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
commite4eaedb7bcca2276a17bda687d7773dc1540346d (patch)
tree10b63964c75e8a628e3a72138aa36ff1077e6963 /Software/Embedded_SW/Embedded/Common/Utilities
parent5cf2e060dcb21338d838e103951762b3e7eb4702 (diff)
downloadTango-e4eaedb7bcca2276a17bda687d7773dc1540346d.tar.gz
Tango-e4eaedb7bcca2276a17bda687d7773dc1540346d.zip
improve flash handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/Utilities')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Utilities/Update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/Update.c b/Software/Embedded_SW/Embedded/Common/Utilities/Update.c
index 60fee1164..460334b15 100644
--- a/Software/Embedded_SW/Embedded/Common/Utilities/Update.c
+++ b/Software/Embedded_SW/Embedded/Common/Utilities/Update.c
@@ -36,7 +36,7 @@ void UpdateUsb(void)
ROM_IntMasterDisable();
#ifdef WATCHDOG
ROM_WatchdogResetDisable(WATCHDOG0_BASE);
- uint32_t timeout = 120000000*35;
+ uint32_t timeout = 0xFFFFFFFFU;
ROM_WatchdogReloadSet(WATCHDOG0_BASE, timeout);
#endif
ControlStop();