Skip to content

Fixes #158: panic in access_spi#159

Open
f-bro wants to merge 1 commit intojkelleyrtp:masterfrom
f-bro:bugfix/access_spi
Open

Fixes #158: panic in access_spi#159
f-bro wants to merge 1 commit intojkelleyrtp:masterfrom
f-bro:bugfix/access_spi

Conversation

@f-bro
Copy link

@f-bro f-bro commented Feb 7, 2025

Fixes issue #158.

I wrapped the SPI device in an Option<SPI> to be able to give ownership to the closure. Option<SPI> is always Some(spi).

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.

1 participant