Skip to content

Correct calculation of search size for RTT CB detection (fix #1729)#1900

Closed
tenbaht wants to merge 1 commit intopyocd:mainfrom
tenbaht:fix-1729
Closed

Correct calculation of search size for RTT CB detection (fix #1729)#1900
tenbaht wants to merge 1 commit intopyocd:mainfrom
tenbaht:fix-1729

Conversation

@tenbaht
Copy link

@tenbaht tenbaht commented Jan 21, 2026

To ensure a minimum size of 32 for the search range it is required to use max(search_size,32). Using min(search_size,32) reduces the given value for search size to a maximum of 32 - pretty much the opposite of the desired outcome.

To ensure a minimum size of 32 for the search range it is required to use
max(search_size,32). Using min(search_size,32) reduces the given
value for search size to a maximum of 32 - pretty much the opposite of the
desired outcome.
@tenbaht tenbaht marked this pull request as draft January 21, 2026 20:59
@tenbaht
Copy link
Author

tenbaht commented Jan 21, 2026

The already existing pull request #1730 fixes this issue in a better way. Please merge that one instead.

@TeoMahnic
Copy link
Collaborator

Closing, as #1730 has been merged, per the request above.

@TeoMahnic TeoMahnic closed this Mar 5, 2026
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.

2 participants