X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FRF230ActiveMessageP.nc;h=0337bbd92c54f054489c4ee75e334a556f9c05f5;hb=adf1de6c009d13b7b52e68535c63b28f59c97400;hp=b241ee58a62a52f8628540a40f2a9b0e192c812f;hpb=83a2281d106e4f029e97523d2e7f53034a152212;p=tinyos-2.x.git diff --git a/tos/chips/rf230/RF230ActiveMessageP.nc b/tos/chips/rf230/RF230ActiveMessageP.nc index b241ee58..0337bbd9 100644 --- a/tos/chips/rf230/RF230ActiveMessageP.nc +++ b/tos/chips/rf230/RF230ActiveMessageP.nc @@ -184,7 +184,7 @@ implementation enum { TRAFFIC_UPDATE_PERIOD = 100, // in milliseconds - TRAFFIC_MAX_BYTES = (uint16_t)(TRAFFIC_UPDATE_PERIOD * 1000.0 / 32), // 3125 + TRAFFIC_MAX_BYTES = (uint16_t)(TRAFFIC_UPDATE_PERIOD * 1000UL / 32), // 3125 }; async command uint16_t TrafficMonitorConfig.getUpdatePeriod()