lobaro / FreeRTOS-rust

Rust crate for FreeRTOS
MIT License
326 stars 55 forks source link

fixed some smaller warnings from clippy #71

Closed robamu closed 4 weeks ago

robamu commented 1 month ago

Just some easy fixes I noticed when compiling the Linux example :) Optionally, the loop which is never reached could also be replaced by a panic! to make it clear this code is actually never reached..

schteve commented 4 weeks ago

Thanks!

FYI the unreachable code should be truly unreachable since start_scheduler() diverges - it cannot return. So that loop / print should be fine to remove.