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

Set PeripheryKey defaults to Nil #123

Merged
merged 1 commit into from
May 5, 2020
Merged

Set PeripheryKey defaults to Nil #123

merged 1 commit into from
May 5, 2020

Conversation

jerryz123
Copy link
Contributor

@jerryz123 jerryz123 commented Nov 24, 2019

We would like to use the HasPeripheryX traits more like CanHavePeripheryX. Setting the PeripheryXKey defaults to Nil lets us do this without adding a WithNoX mixin to all our configurations.

@jerryz123 jerryz123 changed the title Set PeripheryGPIOKey to Seq() Set PeripheryGPIOKey default to Seq() Nov 24, 2019
Copy link
Collaborator

@mwachs5 mwachs5 left a comment

Choose a reason for hiding this comment

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

Is Nil more scala-y than Seq()?

@jerryz123 jerryz123 changed the title Set PeripheryGPIOKey default to Seq() Set PeripheryGPIOKey default to Nil Nov 24, 2019
@jerryz123 jerryz123 requested a review from mwachs5 November 24, 2019 06:34
We would like to use the `HasPeripheryX` traits  more like `CanHavePeripheryX`. Setting the `PeripheryXKey` default to `Nil` lets us do this without adding a `WithNoX` mixin to all our configurations.
@jerryz123 jerryz123 changed the title Set PeripheryGPIOKey default to Nil Set PeripheryKey defaults to Nil Dec 2, 2019
@hcook hcook merged commit 3c78e85 into sifive:master May 5, 2020
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