Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rumcake/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub trait DisplayDevice {
/// Set this to a value higher than 0 if you are trying to display something with animations.
const FPS: usize = 0;

/// How long the screen will stay on before it turns off due to screen inactivty.
/// How long the screen will stay on before it turns off due to screen inactivity.
///
/// If set to 0, the screen will always stay on.
const TIMEOUT: usize = 30;
Expand Down
2 changes: 1 addition & 1 deletion rumcake/src/vial/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::keyboard::KeyboardLayout;
use crate::lighting::BacklightMatrixDevice;
use crate::storage::{FlashStorage, StorageDevice, StorageKey};

// Unlike the other normal Via comands, Vial overwrites the command data received from the host
// Unlike the other normal Via commands, Vial overwrites the command data received from the host

pub fn get_keyboard_id<K: VialKeyboard>(version: u32, data: &mut [u8]) {
data[0..=3].copy_from_slice(&version.to_le_bytes());
Expand Down