]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/AMQueueImplP.nc
Added default command so that the entire parameterized AMSend interface doesnt have...
[tinyos-2.x.git] / tos / system / AMQueueImplP.nc
index 51cd2aece1c3f83eee2531e2b3a4a925db67e151..0a9e4e08654cd707497e15f54184b2d63120befa 100644 (file)
@@ -200,11 +200,14 @@ implementation {
         return call AMSend.maxPayloadLength[0]();
     }
 
-    command void* Send.getPayload[uint8_t id](message_t* m) {
-        return call AMSend.getPayload[0](m);
+    command void* Send.getPayload[uint8_t id](message_t* m, uint8_t len) {
+      return call AMSend.getPayload[0](m, len);
     }
 
     default event void Send.sendDone[uint8_t id](message_t* msg, error_t err) {
         // Do nothing
     }
+    default command error_t AMSend.send[uint8_t id](am_addr_t am_id, message_t* msg, uint8_t len) {
+        return FAIL;
+    }
 }