mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
c227a71d24
* Implement half_period_counter in rtic-time * Rename compute_now to calculate_now, use it in stm32 and imxrt * Add more tests * Add some docs * Fix clippy warning, add imxrt timer to monotonics tests * Bump dependency version to make sure monotonics will build properly * Add changelog to rtic-monotonics * Add more docs * Add more docs * Finish documentation * Fix typos * Switch from atomic-polyfill to portable-atomic * Some more doc fixes * More doc fixes * Minor doc fix * Minor doc fix * Fix Atomics not existing * Fix example * Minor example improvement * Revert back to atomic-polyfill * Fix cargo.toml formatting * Remove atomic-polyfill * Attempt to fix unused macro warning * Remove atomics completely from half period counter * Minor doc fix * Doc fixes * Doc fixes * Remove obsolete comment * Fix ordering in monotonic initialization sequence
910 B
910 B
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
For each category, Added, Changed, Fixed add new entries at the top!
[Unreleased]
Added
half_period_counter
containing utilities for implementing a half-period-counter based monotonic.should_dequeue_check
to theMonotonic
trait to handle bugged timers.
Changed
Fixed
- Soundness fix:
TimerQueue
did not wait long enough inDuration
based delays. Fixing this sadly required adding aconst TICK_PERIOD
to theMonotonic
trait, which requires updating all existing implementations. - If the queue was non-empty and a new instant was added that was earlier than
head
, then the queue would no pend the monotonic handler. This would cause the newhead
to be dequeued at the wrong time.