dev: arm: SetScaling commands don't send parameter bytes.

These are single byte commands which change the mode of the mouse. They don't
take any additional parameters like the SetRate or SetResolution.

Change-Id: I29194916cfed5d3f4893947ef6d6cc636aee2419
Reviewed-on: https://gem5-review.googlesource.com/9701
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Gabe Black
2018-04-02 18:20:55 -07:00
parent 3bd9a8968a
commit 421c2e2b21

View File

@@ -188,8 +188,6 @@ Pl050::processCommand(uint8_t byte)
case SetResolution:
case SetRate:
case SetStatusLed:
case SetScaling1_1:
case SetScaling1_2:
rxQueue.push_back(Ack);
ackNext = 1;
break;
@@ -211,6 +209,8 @@ Pl050::processCommand(uint8_t byte)
case Disable:
case Enable:
case SetDefaults:
case SetScaling1_1:
case SetScaling1_2:
rxQueue.push_back(Ack);
break;
case StatusRequest: