mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 16:20:05 +00:00
[scripts] allow virtual time simulator to go less than 1 second (#6112)
This commit is contained in:
@@ -501,7 +501,7 @@ class VirtualTime(BaseSimulator):
|
||||
|
||||
def go(self, duration, nodeid=None):
|
||||
assert self.current_time == self._pause_time
|
||||
duration = int(duration) * 1000000
|
||||
duration = int(duration * 1000000)
|
||||
dbg_print('running for %d us' % duration)
|
||||
self._pause_time += duration
|
||||
if nodeid:
|
||||
|
||||
Reference in New Issue
Block a user