diff --git a/Cargo.lock b/Cargo.lock index 139cb84b..37c974ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -531,7 +531,7 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "rmk" -version = "0.0.4" +version = "0.0.5" dependencies = [ "byteorder", "cortex-m", diff --git a/boards/rp2040/Cargo.toml b/boards/rp2040/Cargo.toml index 1b0a42ac..6190d553 100644 --- a/boards/rp2040/Cargo.toml +++ b/boards/rp2040/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" forced-target = "thumbv6m-none-eabi" [dependencies] -rmk = { version = "0.0.4", path = "../../rmk", features = [ +rmk = { version = "0.0.5", path = "../../rmk", features = [ "eeprom", "col2row", ] } diff --git a/boards/stm32h7/Cargo.toml b/boards/stm32h7/Cargo.toml index c55f7a4c..dc279bd5 100644 --- a/boards/stm32h7/Cargo.toml +++ b/boards/stm32h7/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" forced-target = "thumbv7em-none-eabihf" [dependencies] -rmk = { version = "0.0.4", path = "../../rmk", features = [ +rmk = { version = "0.0.5", path = "../../rmk", features = [ "eeprom", "col2row", ] } diff --git a/rmk/Cargo.toml b/rmk/Cargo.toml index 4d912777..5aa5d191 100644 --- a/rmk/Cargo.toml +++ b/rmk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rmk" -version = "0.0.4" +version = "0.0.5" authors = ["Haobo Gu "] description = "Keyboard firmware written in Rust" homepage = "https://github.com/haobogu/rmk" diff --git a/rmk/src/keyboard.rs b/rmk/src/keyboard.rs index a57c41e0..b7299121 100644 --- a/rmk/src/keyboard.rs +++ b/rmk/src/keyboard.rs @@ -11,7 +11,7 @@ use core::convert::Infallible; use embedded_alloc::Heap; use embedded_hal::digital::v2::{InputPin, OutputPin}; use embedded_storage::nor_flash::NorFlash; -use log::debug; +use log::{debug, warn}; use rtic_monotonics::systick::*; use usb_device::class_prelude::UsbBus; use usbd_hid::descriptor::{KeyboardReport, MediaKeyboardReport, SystemControlReport}; @@ -306,11 +306,11 @@ impl< } async fn process_key_action_tap_hold(&mut self, _tap_action: Action, _hold_action: Action) { - todo!("tap or hold not implemented"); + warn!("tap or hold not implemented"); } async fn process_key_action_oneshot(&mut self, _oneshot_action: Action) { - todo!("oneshot action not implemented"); + warn!("oneshot action not implemented"); } // Process a single keycode, typically a basic key or a modifier key.