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

Use #[instability::unstable] where possible, cleanup and improve consistency #3055

Merged
merged 8 commits into from
Jan 30, 2025

Conversation

JurajSadel
Copy link
Contributor

closes #3022
closes #3023 (not sure if this isn't too brave 😅, I created new project and tried to use SpiDma and it worked as expected)

@JurajSadel JurajSadel added the skip-changelog No changelog modification needed label Jan 29, 2025
esp-hal/src/spi/mod.rs Outdated Show resolved Hide resolved
@bugadani
Copy link
Contributor

Trait impls look good, but private structs/functions don't really need #[instability::unstable].

@bjoernQ
Copy link
Contributor

bjoernQ commented Jan 30, 2025

I know why it's like this, but do we want it to look like this?

image

@JurajSadel
Copy link
Contributor Author

I know why it's like this, but do we want it to look like this?

image

I've (hopefully) made it more consistent and also have added inherent set_interrupt_handler functions that I've missed in my older PR 🙃 also marked them as unstable so we are consistent here - which makes this PR even more uglier.

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@jessebraham jessebraham added this pull request to the merge queue Jan 30, 2025
Merged via the queue into esp-rs:main with commit e513f1b Jan 30, 2025
28 checks passed
@JurajSadel JurajSadel deleted the unstable branch January 30, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
5 participants