fix IRQ mapping on board description

This commit is contained in:
bunnie 2025-09-13 16:17:47 +08:00
parent 9b515a042f
commit a077e9c617

View file

@ -286,7 +286,7 @@ pub fn setup_kb_pins<T: IoSetup + IoGpio>(iox: &T) -> ([(IoxPort, u8); 2], [(Iox
}
pub fn setup_pmic_irq<T: IoIrq>(iox: &T, server: &str, opcode: usize) {
iox.set_irq_pin(IoxPort::PB, 13, IoxValue::Low, server, opcode);
iox.set_irq_pin(IoxPort::PB, 15, IoxValue::Low, server, opcode);
}
pub fn setup_oled_power_pin<T: IoSetup + IoGpio>(iox: &T) -> (IoxPort, u8) {