Skip to content

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

Merged
uweseimet merged 2 commits intodevelopfrom
improve_daynaport_delay
Nov 15, 2023
Merged

Use a standard timer for the DaynaPort delay work-around#1357
uweseimet merged 2 commits intodevelopfrom
improve_daynaport_delay

Conversation

@uweseimet
Copy link
Copy Markdown
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.

@sonarqubecloud
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
@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