This branch addresses a minor TODO in the ccu module, by moving the spin delay function from the ccu module into a function on the Clint type. Additionally, I've removed the &self receiver from Clint::get_mtime, since we don't actually use the &self. This lets us change get_mtime to a free function, and therefore remove the unsafe calls to Clint::summon() in a few places, so we can get rid of a few unneeded unsafe blocks.
This branch addresses a minor TODO in the
ccu
module, by moving the spin delay function from theccu
module into a function on theClint
type. Additionally, I've removed the&self
receiver fromClint::get_mtime
, since we don't actually use the&self
. This lets us changeget_mtime
to a free function, and therefore remove theunsafe
calls toClint::summon()
in a few places, so we can get rid of a few unneededunsafe
blocks.