]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Er, do it right.
authorscipio <scipio>
Tue, 19 Feb 2008 19:56:03 +0000 (19:56 +0000)
committerscipio <scipio>
Tue, 19 Feb 2008 19:56:03 +0000 (19:56 +0000)
apps/BaseStation/BaseStationP.nc

index a024da10f247cef04e408293640e090894ae45db..89f0c68c469b5ba153506ab04c7bca0230b0893e 100644 (file)
@@ -191,7 +191,7 @@ implementation
     id = call RadioAMPacket.type(msg);
     addr = call RadioAMPacket.destination(msg);
     src = call RadioAMPacket.source(msg);
-    call RadioAMPacket.clear(msg);
+    call UartPacket.clear(msg);
     call UartAMPacket.setSource(msg, src);
 
     if (call UartSend.send[id](addr, uartQueue[uartOut], len) == SUCCESS)
@@ -270,7 +270,7 @@ implementation
     source = call UartAMPacket.source(msg);
     id = call UartAMPacket.type(msg);
 
-    call RadioAMPacket.clear(msg);
+    call RadioPacket.clear(msg);
     call RadioAMPacket.setSource(msg, source);
     
     if (call RadioSend.send[id](addr, msg, len) == SUCCESS)