diff --git a/src/timer.rs b/src/timer.rs index 6e493d0..45fef55 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -60,6 +60,6 @@ impl From 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 } }