From 27bd7aaa5b80bcab429ea38afb8c16ba56ccd0dd Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 13 Jun 2024 22:06:43 +0800 Subject: [PATCH] no need to make key injection noisy on cramium target since this is a primary path and not a debug/diagnostic path --- services/cram-hal-service/src/hw/keyboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cram-hal-service/src/hw/keyboard.rs b/services/cram-hal-service/src/hw/keyboard.rs index 713badbff..b9b0238e0 100644 --- a/services/cram-hal-service/src/hw/keyboard.rs +++ b/services/cram-hal-service/src/hw/keyboard.rs @@ -159,7 +159,7 @@ fn keyboard_service() { if key >= '\u{f700}' && key <= '\u{f8ff}' { log::info!("ignoring key '{}'({:x})", key, key as u32); // ignore Apple PUA characters } else { - log::info!("injecting key '{}'({:x})", key, key as u32); // always be noisy about this, it's an exploit path + log::debug!("injecting key '{}'({:x})", key, key as u32); // always be noisy about this, it's an exploit path xous::try_send_message( conn, xous::Message::new_scalar(