Skip to content

Commit

Permalink
lib: Fix clippy problems
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Jul 29, 2024
1 parent c417611 commit 46e1815
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ impl DerefMut for Pwm {
pub struct Pwm {
pca: Pca9685<I2cdev>,
/// * `oe_pin`: The `oe_pin` component is a pin that is used to enable or disable the output of the PWM
/// signal. It is connected to the Output Enable (OE) pin of the PCA9685 PWM controller.
/// The default initialization of the navigator sets oe_pin to a digital high state, which disables the PCA9685's PWM.
/// signal. It is connected to the Output Enable (OE) pin of the PCA9685 PWM controller.
/// The default initialization of the navigator sets oe_pin to a digital high state, which disables the PCA9685's PWM.
oe_pin: Pin,
}

Expand Down Expand Up @@ -833,7 +833,7 @@ impl Navigator {
/// # Arguments
///
/// * `array` - A 2D array containing RGB values for each LED.
/// Each inner array is a [u8; 3] representing the Red, Green and Blue from a LED.
/// Each inner array is a [u8; 3] representing the Red, Green and Blue from a LED.
///
/// # Example
///
Expand All @@ -860,7 +860,7 @@ impl Navigator {
/// # Arguments
///
/// * `array` - A 2D array containing RGBW values for each LED.
/// Each inner array is a [u8; 4] representing the Red, Green, Blue and White from a LED.
/// Each inner array is a [u8; 4] representing the Red, Green, Blue and White from a LED.
///
/// # Example
///
Expand Down

0 comments on commit 46e1815

Please sign in to comment.