Reimplement Rtimer of Cooja mote as a microsecond resolution timer

This commit is contained in:
Yasuyuki Tanaka 2016-09-06 15:14:10 +02:00
parent 0201208664
commit 6d51c5f58e
8 changed files with 55 additions and 71 deletions

View file

@ -42,7 +42,7 @@ struct simInterface {
// Variable for keeping the last process_run() return value
extern int simProcessRunValue;
extern int simEtimerPending;
extern clock_time_t simNextExpirationTime;
extern clock_time_t simEtimerNextExpirationTime;
extern clock_time_t simCurrentTime;
// Variable that when set to != 0, stops the mote from falling asleep next tick