Don't turn on the radio on after sending a broadcast

This commit is contained in:
adamdunkels 2008-09-04 17:44:01 +00:00
parent 4206ff28a2
commit 7b238a91af

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: xmac.c,v 1.20 2008/07/07 23:25:12 adamdunkels Exp $ * $Id: xmac.c,v 1.21 2008/09/04 17:44:01 adamdunkels Exp $
*/ */
/** /**
@ -380,7 +380,7 @@ send_packet(void)
TIMETABLE_TIMESTAMP(xmac_timetable, "send got ack"); TIMETABLE_TIMESTAMP(xmac_timetable, "send got ack");
#endif #endif
on(); /* Wait for possible ACK packet */ on(); /* Wait for possible ACK packet */
} else { } else if(!is_broadcast) {
#if WITH_TIMETABLE #if WITH_TIMETABLE
TIMETABLE_TIMESTAMP(xmac_timetable, "send no ack received"); TIMETABLE_TIMESTAMP(xmac_timetable, "send no ack received");
#endif #endif