forked from M-Labs/zynq-rs
Compare commits
2 Commits
56be51e9b0
...
47a916fea6
Author | SHA1 | Date |
---|---|---|
morgan | 47a916fea6 | |
morgan | 9c7e418b7a |
|
@ -94,11 +94,9 @@ impl GlobalTimer {
|
|||
while prescaler > 256 {
|
||||
prescaler /= 2;
|
||||
}
|
||||
prescaler
|
||||
prescaler
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// read the raw counter value
|
||||
pub fn get_counter(&self) -> u64 {
|
||||
loop {
|
||||
|
|
Loading…
Reference in New Issue