X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Fctp%2FCtpRoutingEngineP.nc;h=ec0d0acdf707cc9fe134f6919dc0c7664dc1317b;hb=a841fa524b527c33bc3e3cb36e2a685d506aa070;hp=bd213db9fe1dba01fe2aef27b81e5a1e65ec23c9;hpb=be78affaf23a2ad98ef9e93b3d4e7013f3cd88f2;p=tinyos-2.x.git diff --git a/tos/lib/net/ctp/CtpRoutingEngineP.nc b/tos/lib/net/ctp/CtpRoutingEngineP.nc index bd213db9..ec0d0acd 100644 --- a/tos/lib/net/ctp/CtpRoutingEngineP.nc +++ b/tos/lib/net/ctp/CtpRoutingEngineP.nc @@ -151,13 +151,6 @@ implementation { uint32_t parentChanges; /* end statistics */ - uint32_t routeUpdateTimerCount; - - // Maximimum it takes to hear four beacons - enum { - DEATH_TEST_INTERVAL = (maxInterval * 4) / (BEACON_INTERVAL / 1024), - }; - // forward declarations void routingTableInit(); uint8_t routingTableFind(am_addr_t); @@ -199,7 +192,6 @@ implementation { command error_t Init.init() { uint8_t maxLength; - routeUpdateTimerCount = 0; radioOn = FALSE; running = FALSE; parentChanges = 0;