]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/csma/CC2420CsmaP.nc
cleanup some offsets in the cc2420 stack
[tinyos-2.x.git] / tos / chips / cc2420 / csma / CC2420CsmaP.nc
index 7c0ef75deda6505e04ea073b4edda864e4807adc..42e087c86ed40bccdcddaa2e1932a6f7cabeaae3 100644 (file)
@@ -160,7 +160,7 @@ implementation {
 
   command void* Send.getPayload(message_t* m, uint8_t len) {
     if (len <= call Send.maxPayloadLength()) {
-      return (void* COUNT_NOK(len))m->data;
+      return (void* COUNT_NOK(len ))(m->data);
     }
     else {
       return NULL;