Skip to content

Conversation

@TedRio
Copy link
Contributor

@TedRio TedRio commented Sep 8, 2023

No description provided.

Comment on lines 147 to 156
if len(response) > 2:
if response[2] == 0x78:
if previous_time is None:
self.last_pending_resp_times.append(current_time)
previous_time = current_time
else:
self.last_pending_resp_times.append(current_time - previous_time)
if not ((response[0] == 0x7F) and (response[2] == 0x78)):
self.last_resp_time = current_time
break
Copy link
Contributor

@sebclrsn sebclrsn Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if len(response) > 2:
if response[2] == 0x78:
if previous_time is None:
self.last_pending_resp_times.append(current_time)
previous_time = current_time
else:
self.last_pending_resp_times.append(current_time - previous_time)
if not ((response[0] == 0x7F) and (response[2] == 0x78)):
self.last_resp_time = current_time
break
if not ((response[0] == 0x7F) and (response[2] == 0x78)):
self.last_resp_time = current_time
break
else:
if previous_time is None:
self.last_pending_resp_times.append(current_time)
previous_time = current_time
else:
self.last_pending_resp_times.append(current_time - previous_time)

CHANGELOG.md Outdated

## [3.1.1]

### Features
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Features
### Bugfixes

@sebclrsn sebclrsn merged commit ecdf443 into eclipse-kiso-testing:master Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants