mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
ok
This commit is contained in:
parent
3893969096
commit
5e6b02d1b9
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: MspClock.java,v 1.4 2008/10/29 08:36:12 fros4943 Exp $
|
||||
* $Id: MspClock.java,v 1.5 2008/12/04 13:08:55 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.mspmote.interfaces;
|
||||
@ -70,7 +70,7 @@ public class MspClock extends Clock {
|
||||
}
|
||||
|
||||
public int getDrift() {
|
||||
return myMote.cycleDrift / MspMote.NR_CYCLES_PER_MSEC;
|
||||
return (int) (myMote.cycleDrift / MspMote.NR_CYCLES_PER_MSEC);
|
||||
}
|
||||
|
||||
public JPanel getInterfaceVisualizer() {
|
||||
|
Loading…
Reference in New Issue
Block a user