]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Added default command so that the entire parameterized AMSend interface doesnt have...
authorklueska <klueska>
Wed, 23 Apr 2008 06:25:45 +0000 (06:25 +0000)
committerklueska <klueska>
Wed, 23 Apr 2008 06:25:45 +0000 (06:25 +0000)
tos/system/AMQueueImplP.nc

index a2998d011dbe991c1ce4ae7fef737de2efdf74b9..0a9e4e08654cd707497e15f54184b2d63120befa 100644 (file)
@@ -207,4 +207,7 @@ implementation {
     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;
+    }
 }