summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 9adcd86..16dbdb5 100644..100755
--- a/main.c
+++ b/main.c
@@ -442,7 +442,7 @@ __interrupt void Timer_A(void)
{
#ifdef WATCHDOG
/* ACLK (VLO) /64 => T belongs to [0.016; 0.0032] s */
- WDTCTL = WDTPW | WDCNTCL | WDTSSEL | WTDIS1 | WTDIS0;
+ WDTCTL = WDTPW | WDTCNTCL | WDTSSEL | WDTIS1 | WDTIS0;
#endif /* WATCHDOG */
if (!(P1IN & START_SW1_N))
@@ -525,7 +525,7 @@ static void GlobalInit(void)
/******** Watchdog early configuration ********/
/* ACLK /8192 */
- WDTCTL = WDTPW + WDCNTCL + WDTSSEL + WTDIS0;
+ WDTCTL = WDTPW + WDTCNTCL + WDTSSEL + WDTIS0;
/* This initial WDT will expire in 0.4 to 2.1 s
* Note that it will be reconfigured to expire with shorter intervals
* starting from the next clearing.