mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
bugfix: removed-flag should become false when rescheduling unsorted event
This commit is contained in:
parent
b144b78478
commit
2bc52699c6
@ -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: EventQueue.java,v 1.7 2009/06/15 16:51:42 fros4943 Exp $
|
* $Id: EventQueue.java,v 1.8 2009/10/19 17:32:38 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja;
|
package se.sics.cooja;
|
||||||
@ -71,6 +71,7 @@ public class EventQueue {
|
|||||||
event.remove();
|
event.remove();
|
||||||
}
|
}
|
||||||
event.time = time;
|
event.time = time;
|
||||||
|
event.removed = false;
|
||||||
unsortedEvents.add(event);
|
unsortedEvents.add(event);
|
||||||
hasUnsortedEvents = true;
|
hasUnsortedEvents = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user