diff options
| author | Barnaby Walters <[email protected]> | 2023-12-22 17:33:24 +0100 |
|---|---|---|
| committer | Barnaby Walters <[email protected]> | 2023-12-22 17:33:24 +0100 |
| commit | 5150deb70b171ef536d1d08946e72199c458180b (patch) | |
| tree | 5c21378c49162d5ffb61bc244425ad2bdb476f28 | |
| parent | 0fb57ef87d678830e2ccb3753432535897bbb1c3 (diff) | |
Minor typo corrections
| -rw-r--r-- | embassy-time/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-time/README.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 534894b20..7259169cd 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -41,11 +41,11 @@ mock-driver = ["tick-hz-1_000_000"] | |||
| 41 | 41 | ||
| 42 | #! ### Generic Queue | 42 | #! ### Generic Queue |
| 43 | 43 | ||
| 44 | ## Create a global, generic queue that can be used with any executor | 44 | ## Create a global, generic queue that can be used with any executor. |
| 45 | ## To use this you must have a time driver provided. | 45 | ## To use this you must have a time driver provided. |
| 46 | generic-queue = [] | 46 | generic-queue = [] |
| 47 | 47 | ||
| 48 | #! The following features set how many timers are used for the generic queue. At most 1 | 48 | #! The following features set how many timers are used for the generic queue. At most one |
| 49 | #! `generic-queue-*` feature can be enabled. If none is enabled, a default of 64 timers is used. | 49 | #! `generic-queue-*` feature can be enabled. If none is enabled, a default of 64 timers is used. |
| 50 | #! | 50 | #! |
| 51 | #! When using embassy-time from libraries, you should *not* enable any `generic-queue-*` feature, to allow the | 51 | #! When using embassy-time from libraries, you should *not* enable any `generic-queue-*` feature, to allow the |
diff --git a/embassy-time/README.md b/embassy-time/README.md index a4a622700..a4e150c14 100644 --- a/embassy-time/README.md +++ b/embassy-time/README.md | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | Timekeeping, delays and timeouts. | 3 | Timekeeping, delays and timeouts. |
| 4 | 4 | ||
| 5 | Timekeeping is done with elapsed time since system boot. Time is represented in | 5 | Timekeeping is done with elapsed time since system boot. Time is represented in |
| 6 | ticks, where the tick rate is defined either by the driver (in the case of a fixed- | 6 | ticks, where the tick rate is defined either by the driver (in the case of a fixed-rate |
| 7 | rate tick) or chosen by the user with a [tick rate](#tick-rate) feature. The chosen | 7 | tick) or chosen by the user with a [tick rate](#tick-rate) feature. The chosen |
| 8 | tick rate applies to everything in `embassy-time` and thus determines the maximum | 8 | tick rate applies to everything in `embassy-time` and thus determines the maximum |
| 9 | timing resolution of <code>(1 / tick_rate) seconds</code>. | 9 | timing resolution of <code>(1 / tick_rate) seconds</code>. |
| 10 | 10 | ||
