chore: fix spelling error

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-03-15 19:20:08 -05:00
parent d30ce4dbb2
commit 98e67b8c1c
1 changed files with 1 additions and 1 deletions

View File

@ -60,6 +60,6 @@ impl From<TimerControl> for u8 {
fn from(control: TimerControl) -> Self {
let byte: u8 = control.speed as u8; // Get bit 1 and 0.
(byte & !(1u8 << 2)) | ((control.enabled as u8) << 2) // specifically manibulate bit 2
(byte & !(1u8 << 2)) | ((control.enabled as u8) << 2) // specifically manipulate bit 2
}
}