Skip to content

Commit 83ba2b6

Browse files
committed
Fixed bug where opening controls dialog before running task gave error.
See issue: #163
1 parent 782ca86 commit 83ba2b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/communication/pycboard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def setup_state_machine(self, sm_name, sm_dir=None, uploaded=False):
421421
micropython_version=self.micropython_version,
422422
)
423423
self.data_logger.reset()
424+
self.timestamp = 0
424425

425426
def get_states(self):
426427
"""Return states as a dictionary {state_name: state_ID}"""

0 commit comments

Comments
 (0)