X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fxe1205%2FXE1205ActiveMessageP.nc;h=4e69fc4dbd7cc07ff43ed39447610d82198e603c;hb=da0cfeda9689aa64cfce0aa209f51803dcb11c21;hp=09039d76ea512d23185ff166412b9d8ba4fccd84;hpb=594acbf436f5f78611348f7763a89c84f38ba46a;p=tinyos-2.x.git diff --git a/tos/chips/xe1205/XE1205ActiveMessageP.nc b/tos/chips/xe1205/XE1205ActiveMessageP.nc index 09039d76..4e69fc4d 100644 --- a/tos/chips/xe1205/XE1205ActiveMessageP.nc +++ b/tos/chips/xe1205/XE1205ActiveMessageP.nc @@ -110,8 +110,8 @@ implementation { return call Packet.maxPayloadLength(); } - command void* AMSend.getPayload[am_id_t id](message_t* m) { - return call Packet.getPayload(m, NULL); + command void* AMSend.getPayload[am_id_t id](message_t* m, uint8_t len) { + return call Packet.getPayload(m, len); } command error_t AMSend.send[am_id_t id](am_addr_t addr, @@ -153,21 +153,6 @@ implementation { return msg; } - command void* Receive.getPayload[am_id_t id](message_t* m, uint8_t* len) { - return call Packet.getPayload(m, len); - } - - command uint8_t Receive.payloadLength[am_id_t id](message_t* m) { - return call Packet.payloadLength(m); - } - - command void* Snoop.getPayload[am_id_t id](message_t* m, uint8_t* len) { - return call Packet.getPayload(m, len); - } - - command uint8_t Snoop.payloadLength[am_id_t id](message_t* m) { - return call Packet.payloadLength(m); - } }