Shift one so it the same as setLedOn etc.

This commit is contained in:
Kristian Sloth Lauszus 2013-05-16 19:29:59 +02:00
parent 4342ee3c4e
commit 1a362c5310
2 changed files with 2 additions and 2 deletions

View file

@ -597,7 +597,7 @@ void PS3BT::setRumbleOn(uint8_t rightDuration, uint8_t rightPower, uint8_t leftD
}
void PS3BT::setLedRaw(uint8_t value) {
HIDBuffer[11] = value;
HIDBuffer[11] = value << 1;
HID_Command(HIDBuffer, HID_BUFFERSIZE);
}
void PS3BT::setLedOff(LED a) {

View file

@ -445,7 +445,7 @@ void PS3USB::setRumbleOn(uint8_t rightDuration, uint8_t rightPower, uint8_t left
}
void PS3USB::setLedRaw(uint8_t value) {
writeBuf[9] = value;
writeBuf[9] = value << 1;
PS3_Command(writeBuf, PS3_REPORT_BUFFER_SIZE);
}
void PS3USB::setLedOff(LED a) {