summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-10-08 15:49:45 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-10-08 15:49:45 +0200
commitb9afdb6dadb8462d6f632c09cbe617c5c10634db (patch)
tree1823b7463c4643f9e6f61321089c90dbf0cb7613 /main.c
parent47300a1f7e9b13a472f43258aace74a40bda5f33 (diff)
fix typo
Diffstat (limited to 'main.c')
-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.