Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroReflex committed Dec 31, 2024
1 parent 57c8a09 commit 740e2de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ impl CompositeDeviceConfig {
true
}

/// Returns true if a given iio device is within a list of iio configs.
/// Returns true if a given led device is within a list of led configs.
pub fn has_matching_led(&self, device: &UdevDevice, led_config: &Led) -> bool {
log::trace!("Checking led config: {:?} against {:?}", led_config, device);

Expand Down
2 changes: 1 addition & 1 deletion src/dbus/interface/source/iio_imu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use zbus_macros::interface;

use crate::input::source::iio::get_dbus_path;

/// DBusInterface exposing information about a HIDRaw device
/// DBusInterface exposing information about a iio device
pub struct SourceIioImuInterface {
device: UdevDevice,
}
Expand Down
3 changes: 2 additions & 1 deletion src/dbus/interface/source/led.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use crate::udev::device::UdevDevice;
use std::error::Error;
use zbus::{fdo, Connection};
use zbus_macros::interface;
/// DBusInterface exposing information about a HIDRaw device

/// DBusInterface exposing information about a led device
pub struct SourceLedInterface {
device: UdevDevice,
}
Expand Down

0 comments on commit 740e2de

Please sign in to comment.