X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Frf230%2FRF230ActiveMessageP.nc;h=301a110a818401f78afe19b0fb5516274b6dce17;hb=b77cf86e72ab6faa4283b14fc4d80fca179381bd;hp=0b07d1eb5948b8b40a74dd147344b750c8a7a7c7;hpb=82224deda747984e2c63677d9f5bab60c02c51aa;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/rf230/RF230ActiveMessageP.nc b/tos/chips/rf2xx/rf230/RF230ActiveMessageP.nc index 0b07d1eb..301a110a 100644 --- a/tos/chips/rf2xx/rf230/RF230ActiveMessageP.nc +++ b/tos/chips/rf2xx/rf230/RF230ActiveMessageP.nc @@ -118,9 +118,13 @@ implementation call IEEE154MessageLayer.createAckReply(data, ack); } +#ifndef SOFTWAREACK_TIMEOUT +#define SOFTWAREACK_TIMEOUT 1000 +#endif + async command uint16_t SoftwareAckConfig.getAckTimeout() { - return (uint16_t)(800 * RADIO_ALARM_MICROSEC); + return (uint16_t)(SOFTWAREACK_TIMEOUT * RADIO_ALARM_MICROSEC); } tasklet_async command void SoftwareAckConfig.reportChannelError()