Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
update state
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav Rama committed Apr 27, 2020
1 parent 0b04c12 commit a6bd07a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/peripherals_tm4c/timers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ static mut TIMER_INTERRUPTS: [u8; 2] = [0; 2];
t1.tamr.write(|w| unsafe{w.bits(1)});
}
}
self.modes[timer] = TimerMode::SingleShot;

}

Expand All @@ -155,7 +156,7 @@ static mut TIMER_INTERRUPTS: [u8; 2] = [0; 2];
t1.tamr.write(|w| unsafe{w.bits(2)});
}
}
self.modes[timer] =
self.modes[timer] = TimerMode::Repeated;

}
}
Expand Down

0 comments on commit a6bd07a

Please sign in to comment.