Skip to content

Read all 16 bits in readPhyByte, not just upper 8 bits - #409

Open
JerthG wants to merge 1 commit into
njh:mainfrom
JerthG:master
Open

Read all 16 bits in readPhyByte, not just upper 8 bits#409
JerthG wants to merge 1 commit into
njh:mainfrom
JerthG:master

Conversation

@JerthG

@JerthG JerthG commented Dec 17, 2020

Copy link
Copy Markdown

readPhyByte would only read the upper 8 bits of the MIRD register. Now it should read all 16 bits.

@njh

njh commented Dec 17, 2020

Copy link
Copy Markdown
Owner

Thanks! Why was this useful for you?

@JerthG

JerthG commented Dec 17, 2020

Copy link
Copy Markdown
Author

I was fiddling around trying to use your library to create my own with only the functionality i needed.
And i wanted to read the PHID1 and PHID2 registers to make sure my SPI connection was working.

@JerthG

JerthG commented Dec 19, 2020

Copy link
Copy Markdown
Author

I see now that it broke isLinkUp, fixed that as well

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