summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c2
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
index 1b753006dc..a809506498 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
@@ -312,7 +312,7 @@ PS2MouseSetScaling (
{
UINT8 Command;
- Command = (UINT8) (Scaling == SF1 ? SETSF1_CMD : SETSF2_CMD);
+ Command = (UINT8) (Scaling == Scaling1 ? SETSF1_CMD : SETSF2_CMD);
//
// Send auxiliary command to set mouse scaling data
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
index 6ddd5ebea4..548386f844 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
@@ -312,7 +312,7 @@ PS2MouseSetScaling (
{
UINT8 Command;
- Command = (UINT8) (Scaling == SF1 ? SETSF1_CMD : SETSF2_CMD);
+ Command = (UINT8) (Scaling == Scaling1 ? SETSF1_CMD : SETSF2_CMD);
//
// Send auxiliary command to set mouse scaling data