X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FRF230ActiveMessageP.nc;h=0337bbd92c54f054489c4ee75e334a556f9c05f5;hb=e3cfa7776f6d8e739d5fb613668b470111d75d55;hp=b241ee58a62a52f8628540a40f2a9b0e192c812f;hpb=fcb117d8c101ca455d5728fd9772ca69a6bfe0ae;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()