From d265ce3398d1985dfb0e8b63c9e8a1f3c56e50cd Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 1 Oct 2025 02:56:40 +0800 Subject: [PATCH] note deprecated pin config --- services/bao-console/src/cmds/test.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/services/bao-console/src/cmds/test.rs b/services/bao-console/src/cmds/test.rs index 836ffd3bf..b866bb462 100644 --- a/services/bao-console/src/cmds/test.rs +++ b/services/bao-console/src/cmds/test.rs @@ -98,12 +98,7 @@ impl<'a> ShellCmdApi<'a> for Test { log::info!("sent shutdown to axp2101"); } "keepon" => { - use bao1x_api::*; - let iox = bao1x_api::IoxHal::new(); - let (port, pin) = bao1x_hal::board::setup_keep_on_pin(&iox); - iox.set_gpio_pin_value(port, pin, IoxValue::High); - let _ = bao1x_hal::board::setup_kb_pins(&iox); - log::info!("keepon got {:x?}", iox.get_gpio_pin_value(IoxPort::PF, 0)); + todo!("Fix this to use DCDC2 for keepon (as per baosec v2)"); } _ => { write!(ret, "{}", helpstring).unwrap();