Updated to the new number of rtimer ticks per second

This commit is contained in:
adamdunkels 2010-02-04 16:21:47 +00:00
parent ba56b22c03
commit e9ac1488e7

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: SensorData.java,v 1.6 2008/11/26 14:22:54 nifi Exp $ * $Id: SensorData.java,v 1.7 2010/02/04 16:21:47 adamdunkels Exp $
* *
* ----------------------------------------------------------------- * -----------------------------------------------------------------
* *
@ -34,8 +34,8 @@
* *
* Authors : Joakim Eriksson, Niclas Finne * Authors : Joakim Eriksson, Niclas Finne
* Created : 3 jul 2008 * Created : 3 jul 2008
* Updated : $Date: 2008/11/26 14:22:54 $ * Updated : $Date: 2010/02/04 16:21:47 $
* $Revision: 1.6 $ * $Revision: 1.7 $
*/ */
package se.sics.contiki.collect; package se.sics.contiki.collect;
@ -182,7 +182,7 @@ public class SensorData implements SensorInfo {
} }
public double getLatency() { public double getLatency() {
return values[LATENCY] / 4096.0; return values[LATENCY] / 8192.0;
} }
public double getHumidity() { public double getHumidity() {