[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc1000_lpl
CC1000ActiveMessageP.nc, 1.6, 1.7
Kevin Klues
klueska at users.sourceforge.net
Mon Dec 10 16:46:49 PST 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc1000_lpl
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16283
Modified Files:
CC1000ActiveMessageP.nc
Log Message:
oops....
Index: CC1000ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc1000_lpl/CC1000ActiveMessageP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CC1000ActiveMessageP.nc 8 Dec 2007 00:32:45 -0000 1.6
--- CC1000ActiveMessageP.nc 11 Dec 2007 00:46:47 -0000 1.7
***************
*** 59,63 ****
return (cc1000_footer_t *)(amsg->footer);
}
!
command error_t AMSend.send[am_id_t id](am_addr_t addr,
message_t* amsg,
--- 59,63 ----
return (cc1000_footer_t *)(amsg->footer);
}
!
command error_t AMSend.send[am_id_t id](am_addr_t addr,
message_t* amsg,
***************
*** 91,95 ****
event message_t* SubReceive.receive(message_t* msg, void* payload, uint8_t len) {
cc1000_footer_t* msg_footer = getFooter(msg);
! if(msg_footer->crc == 1) {
if (call AMPacket.isForMe(msg)) {
return signal Receive.receive[call AMPacket.type(msg)](msg, payload, len);
--- 91,95 ----
event message_t* SubReceive.receive(message_t* msg, void* payload, uint8_t len) {
cc1000_footer_t* msg_footer = getFooter(msg);
! if(msg_footer->crc == 1) {
if (call AMPacket.isForMe(msg)) {
return signal Receive.receive[call AMPacket.type(msg)](msg, payload, len);
More information about the Tinyos-2-commits
mailing list