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

Split PHY code into phy.{c,h} #2647

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Split PHY code into phy.{c,h} #2647

merged 1 commit into from
Mar 15, 2024

Conversation

cpq
Copy link
Member

@cpq cpq commented Mar 14, 2024

No description provided.

@cpq cpq requested a review from scaprile March 14, 2024 08:39
@scaprile scaprile self-assigned this Mar 14, 2024
@scaprile scaprile marked this pull request as draft March 14, 2024 19:01
@scaprile scaprile force-pushed the phy branch 3 times, most recently from d3b848c to 811c32c Compare March 14, 2024 20:34
@scaprile scaprile marked this pull request as ready for review March 14, 2024 21:16
void (*write_reg)(uint8_t addr, uint8_t reg, uint16_t value);
};

enum { MG_PHY_CONF_CLOCKING = 0, MG_PHY_CONF_CLOCKED = 1, MG_PHY_CONF_LEDS_AH = 2};
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand those values...
Could you choose a bit more descriptive names, perhaps longer ones?
Or, add comments (more descriptive names are preferred, cause comments are not visible where those values are used)

@scaprile scaprile merged commit 15bd8b4 into master Mar 15, 2024
52 of 63 checks passed
@scaprile scaprile deleted the phy branch March 15, 2024 14:04
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