JitterCompany / f1-led-circuit

Formula 1 LED circuit
0 stars 0 forks source link

Add async task - need lifetime fix #30

Closed CodingInGreen closed 3 weeks ago

CodingInGreen commented 3 weeks ago

Issue - does not live long enough:

descriptors rx_descriptors spi

Possible solutions for further research:

static mut -- will be deprecated in Rust 2024 Edition (not good) StaticCell Arc<Mutex

CodingInGreen commented 3 weeks ago

This ended up being an interesting issue that caused some minor problems, resolved now though:

https://github.com/rust-lang/rust/issues/96572