From 580a5f8c9b2457a8e1c7dd2f36bc075285dbe3b1 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Mon, 26 Aug 2024 08:14:00 +0000 Subject: [PATCH] Clippy --- src/interrupt.rs | 1 + src/uart.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interrupt.rs b/src/interrupt.rs index 6fa9b6452..b20428b20 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -508,6 +508,7 @@ pub mod asynch { unsafe impl Sync for IsrReactor {} /// Single-slot lock-free signaling primitive supporting signalling with a `u32` bit-set. + /// /// A variation of the `Notification` HAL primitive which is however safe to be notified from an ISR context. /// /// It is useful for sending data between an ISR routine (or a regular task context) and an async task when the diff --git a/src/uart.rs b/src/uart.rs index 2d77ada19..cb2ff8324 100644 --- a/src/uart.rs +++ b/src/uart.rs @@ -1,6 +1,6 @@ //: QueueHandle_t ! UART peripheral control -//! //! Controls UART peripherals (UART0, UART1, UART2). +//! //! Notice that UART0 is typically already used for loading firmware and logging. //! Therefore use UART1 and UART2 in your application. //! Any pin can be used for `rx` and `tx`.