X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2Flowpan%2FCC2420TinyosNetworkP.nc;h=8e8061a9f8612aa70623baf49ec567b37092d66b;hp=e96354f0b930016e14191deaf1d08927a499c7b4;hb=d30405c532321fd306f685545094c57132123e94;hpb=d3e972cf3bcc1902d0b33276e72983573fadd94f diff --git a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc index e96354f0..8e8061a9 100644 --- a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc +++ b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc @@ -110,6 +110,7 @@ implementation { return &hdr->network; #else // you really can't use BareSend with TFRAMES +#error "BareSend is not supported with TFRAMES: only the ActiveMessage layer is supported" #endif } @@ -168,6 +169,7 @@ implementation { post grantTask(); if (TINYOS_N_NETWORKS > 1) { + return call Queue.enqueue(id); } else { if (id == resource_owner) {