From e054af78c0a1526d1124c582e70ec9a656d5ddfe Mon Sep 17 00:00:00 2001 From: auronandace Date: Fri, 20 Mar 2026 11:58:53 +0000 Subject: [PATCH] update bitflags for ps2d --- Cargo.lock | 2 +- drivers/input/ps2d/Cargo.toml | 2 +- drivers/input/ps2d/src/controller.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aa2891d66c..91ac6193d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1583,7 +1583,7 @@ dependencies = [ name = "ps2d" version = "0.1.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.11.0", "common", "daemon", "inputd", diff --git a/drivers/input/ps2d/Cargo.toml b/drivers/input/ps2d/Cargo.toml index e09e86f7ed..fdba06b634 100644 --- a/drivers/input/ps2d/Cargo.toml +++ b/drivers/input/ps2d/Cargo.toml @@ -5,7 +5,7 @@ version = "0.1.0" edition = "2018" [dependencies] -bitflags = "1" +bitflags.workspace = true log.workspace = true orbclient.workspace = true redox_event.workspace = true diff --git a/drivers/input/ps2d/src/controller.rs b/drivers/input/ps2d/src/controller.rs index d40d7998fe..d7af4cba2c 100644 --- a/drivers/input/ps2d/src/controller.rs +++ b/drivers/input/ps2d/src/controller.rs @@ -45,6 +45,7 @@ bitflags! { } bitflags! { + #[derive(Clone, Copy, Debug)] pub struct ConfigFlags: u8 { const FIRST_INTERRUPT = 1 << 0; const SECOND_INTERRUPT = 1 << 1;