Timesynch is now on 32768 Hz clock instead of 8192 Hz.
This commit is contained in:
parent
34f2d3e025
commit
a29d56874a
|
@ -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.1 2010/11/03 14:53:05 adamdunkels Exp $
|
* $Id: SensorData.java,v 1.2 2011/01/09 21:06:10 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: 2010/11/03 14:53:05 $
|
* Updated : $Date: 2011/01/09 21:06:10 $
|
||||||
* $Revision: 1.1 $
|
* $Revision: 1.2 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.contiki.collect;
|
package se.sics.contiki.collect;
|
||||||
|
@ -214,7 +214,7 @@ public class SensorData implements SensorInfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getLatency() {
|
public double getLatency() {
|
||||||
return values[LATENCY] / 8192.0;
|
return values[LATENCY] / 32678.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getHumidity() {
|
public double getHumidity() {
|
||||||
|
|
Loading…
Reference in a new issue