X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2FIPBaseStation%2FBaseStationP.nc;h=fc7df4eeccfd71b684a09e3918347d958f45c76e;hb=8d83c89e661646d194c9bd03bc7a8204ae2dcf9c;hp=dfe80cd48065cf05ab3c3306423a319c1d96e9d9;hpb=eca0b8b411fb6e86e315338c7b92e1cdb4100c3a;p=tinyos-2.x.git diff --git a/apps/IPBaseStation/BaseStationP.nc b/apps/IPBaseStation/BaseStationP.nc index dfe80cd4..fc7df4ee 100644 --- a/apps/IPBaseStation/BaseStationP.nc +++ b/apps/IPBaseStation/BaseStationP.nc @@ -303,7 +303,7 @@ implementation bool reflectToken = FALSE; CHECK_NODE_ID msg; dbg("base", "uartreceive len %i of 0x%x\n", len, call SerialAMPacket.destination(msg)); -#if defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB) || defined(PLATFORM_EPIC) +#if defined(BLIP_WATCHDOG) && (defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB) || defined(PLATFORM_EPIC)) WDTCTL = WDT_ARST_1000; #endif atomic @@ -397,7 +397,7 @@ implementation uint8_t len) { config_cmd_t *cmd; uint8_t error = CONFIG_ERROR_OK; -#if defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB) || defined(PLATFORM_EPIC) +#if defined(BLIP_WATCHDOG) && (defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB) || defined(PLATFORM_EPIC)) WDTCTL = WDT_ARST_1000; #endif