Initial WiSMote port based on code from Arago Systems.
This commit is contained in:
parent
367c82a5ab
commit
05b10eb9ce
45 changed files with 5641 additions and 23 deletions
|
@ -112,9 +112,13 @@ watchdog_init(void)
|
|||
initialization. */
|
||||
counter = 0;
|
||||
watchdog_stop();
|
||||
|
||||
#if CONTIKI_TARGET_WISMOTE
|
||||
SFRIFG1 &= ~WDTIFG;
|
||||
SFRIE1 |= WDTIE;
|
||||
#else
|
||||
IFG1 &= ~WDTIFG;
|
||||
IE1 |= WDTIE;
|
||||
#endif
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue