fixed cycles per sec to be more correct

This commit is contained in:
joxe 2008-09-22 09:32:13 +00:00
parent 7f3e81f5d3
commit 221742559d

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* 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;
@ -48,8 +48,8 @@ import se.sics.mspsim.util.*;
public abstract class MspMote implements Mote {
private static Logger logger = Logger.getLogger(MspMote.class);
/* 2.4 MHz */
public static int NR_CYCLES_PER_MSEC = 2365;
/* 2.4576 MHz according to Contiki's speed sync loop*/
public static int NR_CYCLES_PER_MSEC = 2458;
/* Cycle counter */
public long cycleCounter = 0;