diff options
| author | Dániel Buga <[email protected]> | 2024-12-16 19:00:01 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-16 20:37:01 +0100 |
| commit | a8617429e4c3177a3e7c31b20ee36a2dfe6b6430 (patch) | |
| tree | fc5b78f0c9fcb498966f8859e1f1e2aec11d0a65 /embassy-time-driver/src/lib.rs | |
| parent | 71812d0c9ba3c0c9f8689299f825ebc1318db938 (diff) | |
Add note
Diffstat (limited to 'embassy-time-driver/src/lib.rs')
| -rw-r--r-- | embassy-time-driver/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-time-driver/src/lib.rs b/embassy-time-driver/src/lib.rs index c776fbdf8..9f2795a01 100644 --- a/embassy-time-driver/src/lib.rs +++ b/embassy-time-driver/src/lib.rs | |||
| @@ -46,6 +46,9 @@ | |||
| 46 | //! | 46 | //! |
| 47 | //! Then, you'll need to adapt the `schedule_wake` method to use this queue. | 47 | //! Then, you'll need to adapt the `schedule_wake` method to use this queue. |
| 48 | //! | 48 | //! |
| 49 | //! Note that if you are using multiple queues, you will need to ensure that a single timer | ||
| 50 | //! queue item is only ever enqueued into a single queue at a time. | ||
| 51 | //! | ||
| 49 | //! ```ignore | 52 | //! ```ignore |
| 50 | //! use core::cell::RefCell; | 53 | //! use core::cell::RefCell; |
| 51 | //! use core::task::Waker; | 54 | //! use core::task::Waker; |
