Skip to content

Commit

Permalink
refactor: clean code
Browse files Browse the repository at this point in the history
Signed-off-by: HaoboGu <[email protected]>
  • Loading branch information
HaoboGu committed Feb 20, 2024
1 parent 6fbf11d commit 475f7ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion rmk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ mod via;
/// * `keymap` - default keymap definition
/// * `keyboard_config` - other configurations of the keyboard, check [RmkConfig] struct for details
pub async fn initialize_keyboard_with_config_and_run<
'a,
D: Driver<'static>,
In: InputPin<Error = Infallible>,
Out: OutputPin<Error = Infallible>,
Expand Down
5 changes: 0 additions & 5 deletions rmk/src/light.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
use defmt::Format;
///! Lighting in keyboard
///!
///! Two types of light: single color LED, RGB LED(ws2812).
///!
///! Three usages of LEDs: single/matrix/underglow(RGB only).
use embedded_hal::digital::{OutputPin, PinState};
use packed_struct::prelude::*;

Expand Down

0 comments on commit 475f7ce

Please sign in to comment.