Use standardized mutex
arjanmels opened this issue · comments
We should use standardized Mutex. Currently combination if interrupt free section and spinlock is used.
I think we should align to: https://github.com/rust-embedded/wg/blob/master/rfcs/0377-mutex-trait.md (for tracking: rust-embedded/wg#395). However it seems that it is not fully crystallized yet. (The syntax that requires to take a mutex reference to lock, is a bit weird.)
#31 is merged