Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a standard timer for the DaynaPort delay work-around #1357

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

uweseimet
Copy link
Contributor

@uweseimet uweseimet commented Nov 14, 2023

A seemingly small change, but important. Tested with a Mac SE, but the actual delay does not change anyway with this change.

Copy link

sonarcloud bot commented Nov 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@uweseimet uweseimet marked this pull request as ready for review November 14, 2023 17:31
@rdmark
Copy link
Member

rdmark commented Nov 15, 2023

Just out of curiosity, how come this change is important? Standardizing the API used for timers?

@uweseimet
Copy link
Contributor Author

Just out of curiosity, how come this change is important? Standardizing the API used for timers?

This change is important because, at least as far as I can tell right now, this was the only code location where I was not sure whether I can completely get rid of code using the special timer of the Raspberry Pi. If we do not need it it saves quite some code, and makes the code much more portable.
While testing locally I was already able to remove all occurences of this timer, but this needs more testing.

@uweseimet uweseimet merged commit 70bcb78 into develop Nov 15, 2023
16 checks passed
@uweseimet uweseimet deleted the improve_daynaport_delay branch November 15, 2023 06:51
uweseimet added a commit that referenced this pull request Nov 15, 2023
* Do not use the proprietary system timer for the DaynaPort delay work-around
uweseimet added a commit that referenced this pull request Nov 15, 2023
* Do not use the proprietary system timer for the DaynaPort delay work-around
@uweseimet uweseimet linked an issue Nov 15, 2023 that may be closed by this pull request
6 tasks
rdmark pushed a commit that referenced this pull request May 1, 2024
* Do not use the proprietary system timer for the DaynaPort delay work-around
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.

Verify (and remove) delays that are not accounted for by the SCSI specification
2 participants