Skip to content

Conversation

kartben
Copy link
Contributor

@kartben kartben commented Jun 27, 2024

It looks like the original code was a bad copy-paste from H5 HAL. ETH_DMATXDESC_LS and ETH_DMATXDESC_TTSS are flags from the DESC0 register. This allows to effectively et the TX timestamp properly when there is one.

I wouldn't be surprised if more of such mix-ups of DESC0/1 vs., DESC2/3 would be to be found in the file but I didn't really review this.

It looks like the original code was a bad copy-paste from H5/H7 HALs.
ETH_DMATXDESC_LS and ETH_DMATXDESC_TTSS are flags from the DuESC0 register.
This fix allows to effectively set the TX timestamp properly when there
is one.

Signed-off-by: Benjamin Cabé <[email protected]>
Copy link
Member

@erwango erwango 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 with the change, but please:

@erwango
Copy link
Member

erwango commented Sep 2, 2024

@marwaiehm-st Since @kartben is busy, would you mind taking over this change ?

@marwaiehm-st
Copy link
Collaborator

@marwaiehm-st Since @kartben is busy, would you mind taking over this change ?

Ok

@marwaiehm-st
Copy link
Collaborator

This PR is replaced by #232

@erwango
Copy link
Member

erwango commented Sep 4, 2024

This PR is replaced by #232

Thanks @marwaiehm-st.
@kartben we'll close current issue to make topic moving forward, if you don't mind.

@erwango erwango closed this Sep 4, 2024
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