-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
38 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters