]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
bug fix: make evaluateEtx arg a 16 bit arg
authorgnawali <gnawali>
Wed, 5 Dec 2007 22:41:25 +0000 (22:41 +0000)
committergnawali <gnawali>
Wed, 5 Dec 2007 22:41:25 +0000 (22:41 +0000)
tos/lib/net/ctp/CtpRoutingEngineP.nc

index 5a595341ae9c015f5f2013d974838272ae1ec518..ef3857ad8dfb4fbe3135b41c30d3ec17d1f5f5bd 100644 (file)
@@ -259,7 +259,7 @@ implementation {
 
     /* Converts the output of the link estimator to path metric
      * units, that can be *added* to form path metric measures */
-    uint16_t evaluateEtx(uint8_t quality) {
+    uint16_t evaluateEtx(uint16_t quality) {
         //dbg("TreeRouting","%s %d -> %d\n",__FUNCTION__,quality, quality+10);
         return (quality + 10);
     }