From bd4b0447483564ae08983f52debb7b7d9ac7de1c Mon Sep 17 00:00:00 2001 From: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com> Date: Thu, 23 May 2024 14:25:34 +0100 Subject: [PATCH] Fix new clippy lint (#1581) * Fix new clippy lint * All the RISCVs --- esp-hal/src/soc/esp32c2/gpio.rs | 1 + esp-hal/src/soc/esp32c3/gpio.rs | 1 + esp-hal/src/soc/esp32c6/gpio.rs | 1 + esp-hal/src/soc/esp32h2/gpio.rs | 1 + 4 files changed, 4 insertions(+) diff --git a/esp-hal/src/soc/esp32c2/gpio.rs b/esp-hal/src/soc/esp32c2/gpio.rs index 41ec6ceeab1..97b5089cc29 100644 --- a/esp-hal/src/soc/esp32c2/gpio.rs +++ b/esp-hal/src/soc/esp32c2/gpio.rs @@ -36,6 +36,7 @@ //! two different banks: //! * `InterruptStatusRegisterAccessBank0` //! * `InterruptStatusRegisterAccessBank1`. +//! //! This trait provides functions to read the interrupt status and NMI status //! registers for both the `PRO CPU` and `APP CPU`. The implementation uses the //! `gpio` peripheral to access the appropriate registers. diff --git a/esp-hal/src/soc/esp32c3/gpio.rs b/esp-hal/src/soc/esp32c3/gpio.rs index 43385fd3c88..641215edf5f 100644 --- a/esp-hal/src/soc/esp32c3/gpio.rs +++ b/esp-hal/src/soc/esp32c3/gpio.rs @@ -36,6 +36,7 @@ //! two different banks: //! * `InterruptStatusRegisterAccessBank0` //! * `InterruptStatusRegisterAccessBank1`. +//! //! This trait provides functions to read the interrupt status and NMI status //! registers for both the `PRO CPU` and `APP CPU`. The implementation uses the //! `gpio` peripheral to access the appropriate registers. diff --git a/esp-hal/src/soc/esp32c6/gpio.rs b/esp-hal/src/soc/esp32c6/gpio.rs index 8ff8e905f42..b0b6c231749 100644 --- a/esp-hal/src/soc/esp32c6/gpio.rs +++ b/esp-hal/src/soc/esp32c6/gpio.rs @@ -36,6 +36,7 @@ //! two different banks: //! * `InterruptStatusRegisterAccessBank0` //! * `InterruptStatusRegisterAccessBank1`. +//! //! This trait provides functions to read the interrupt status and NMI status //! registers for both the `PRO CPU` and `APP CPU`. The implementation uses the //! `gpio` peripheral to access the appropriate registers. diff --git a/esp-hal/src/soc/esp32h2/gpio.rs b/esp-hal/src/soc/esp32h2/gpio.rs index a7983809c41..40bc3611b5c 100644 --- a/esp-hal/src/soc/esp32h2/gpio.rs +++ b/esp-hal/src/soc/esp32h2/gpio.rs @@ -36,6 +36,7 @@ //! two different banks: //! * `InterruptStatusRegisterAccessBank0` //! * `InterruptStatusRegisterAccessBank1`. +//! //! This trait provides functions to read the interrupt status and NMI status //! registers for both the `PRO CPU` and `APP CPU`. The implementation uses the //! `gpio` peripheral to access the appropriate registers.