Skip to content

Commit

Permalink
Add missing pub keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Aug 29, 2023
1 parent 9ae3a65 commit af5e258
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
name = "djio"
description = "DJ Hardware Control(ler) Support"
version = "0.0.11"
version = "0.0.12"
license = "MPL-2.0"
readme = "README.md"
repository = "https://github.com/uklotzde/djio"
Expand Down
8 changes: 4 additions & 4 deletions src/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl From<ControlValue> for LedOutput {
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(transparent)]
pub struct DimLedOutput {
brightness: u8,
pub brightness: u8,
}

impl From<DimLedOutput> for ControlValue {
Expand All @@ -72,9 +72,9 @@ impl From<ControlValue> for DimLedOutput {
/// RGB LED
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct RgbLedOutput {
red: u8,
green: u8,
blue: u8,
pub red: u8,
pub green: u8,
pub blue: u8,
}

impl From<RgbLedOutput> for ControlValue {
Expand Down

0 comments on commit af5e258

Please sign in to comment.