From: gnawali Date: Sat, 9 Feb 2008 05:45:10 +0000 (+0000) Subject: because we changed the type for length in Intercept.forward X-Git-Tag: release_tinyos_2_1_0_0~565 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=909f5d653af45046eed5bb462d65541471e3844c because we changed the type for length in Intercept.forward --- diff --git a/tos/lib/net/ctp/CtpForwardingEngineP.nc b/tos/lib/net/ctp/CtpForwardingEngineP.nc index eac244e8..38dfc106 100644 --- a/tos/lib/net/ctp/CtpForwardingEngineP.nc +++ b/tos/lib/net/ctp/CtpForwardingEngineP.nc @@ -921,7 +921,7 @@ implementation { default event bool Intercept.forward[collection_id_t collectid](message_t* msg, void* payload, - uint16_t len) { + uint8_t len) { return TRUE; } diff --git a/tos/lib/net/lqi/LqiForwardingEngineP.nc b/tos/lib/net/lqi/LqiForwardingEngineP.nc index 573a5eb5..f1382902 100644 --- a/tos/lib/net/lqi/LqiForwardingEngineP.nc +++ b/tos/lib/net/lqi/LqiForwardingEngineP.nc @@ -502,7 +502,7 @@ implementation { default event message_t* Receive.receive[collection_id_t id](message_t* pMsg, void* payload, uint8_t len) { return pMsg; } - default event bool Intercept.forward[collection_id_t id](message_t* pMsg, void* payload, uint16_t len) { + default event bool Intercept.forward[collection_id_t id](message_t* pMsg, void* payload, uint8_t len) { return 1; }