[net2-wg] [Tinyos-help] CtpRoutingEngineP.nc Rev1.19

Omprakash Gnawali gnawali at usc.edu
Sat Sep 19 06:27:07 PDT 2009


On Thu, Sep 17, 2009 at 1:40 AM, Mehmet Akif Antepli
<akifantepli at gmail.com> wrote:
> Hi ,
>
> Could anyone have an idea with the following code? Always returning true?
>
>   242     /* Is this quality measure better than the minimum threshold? */
>   243     // Implemented assuming quality is EETX
>   244     bool passLinkEtxThreshold(uint16_t etx) {
>   245 return TRUE;
>   246         return (etx < ETX_THRESHOLD);
>   247     }

I committed a fix. Can you take a look?

Thanks.

- om_p



More information about the net2-wg mailing list