mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-10 11:29:38 +00:00
fixed cycles per sec to be more correct
This commit is contained in:
parent
7f3e81f5d3
commit
221742559d
@ -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: MspMote.java,v 1.10 2008/09/17 17:39:37 nifi Exp $
|
* $Id: MspMote.java,v 1.11 2008/09/22 09:32:13 joxe Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.mspmote;
|
package se.sics.cooja.mspmote;
|
||||||
@ -48,8 +48,8 @@ import se.sics.mspsim.util.*;
|
|||||||
public abstract class MspMote implements Mote {
|
public abstract class MspMote implements Mote {
|
||||||
private static Logger logger = Logger.getLogger(MspMote.class);
|
private static Logger logger = Logger.getLogger(MspMote.class);
|
||||||
|
|
||||||
/* 2.4 MHz */
|
/* 2.4576 MHz according to Contiki's speed sync loop*/
|
||||||
public static int NR_CYCLES_PER_MSEC = 2365;
|
public static int NR_CYCLES_PER_MSEC = 2458;
|
||||||
|
|
||||||
/* Cycle counter */
|
/* Cycle counter */
|
||||||
public long cycleCounter = 0;
|
public long cycleCounter = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user