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

timer: Fix TimerBusClock2USec #462

Merged
merged 1 commit into from
Nov 27, 2023
Merged

timer: Fix TimerBusClock2USec #462

merged 1 commit into from
Nov 27, 2023

Conversation

Ziemas
Copy link
Contributor

@Ziemas Ziemas commented Nov 25, 2023

Should fix #416

@Ziemas
Copy link
Contributor Author

Ziemas commented Nov 26, 2023

Tested this now and it seems to work fine.

After this change the test from #416 now generates valid unix timestamps and the assert never fails.

Copy link
Member

@fjtrujy fjtrujy left a comment

Choose a reason for hiding this comment

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

I’m fine wit this change, it makes sense to me.
Anyway, I will wait till @davidgfnet double-check it, because he is the author of this.

Cheers

@uyjulian
Copy link
Member

Validated against my notes. This is fine, merging

@uyjulian uyjulian merged commit bd8ae3f into ps2dev:master Nov 27, 2023
3 checks passed
@davidgfnet
Copy link
Contributor

Yup that's correct, it was returning clocks instead of usecs. Not sure what happened there :P
Thank you for the fix! Sorry I forgot about this, too much email I guess.

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.

TimerBusClock2USec not reporting microseconds properly
4 participants