Skip to content

Commit

Permalink
Shift one so it the same as setLedOn etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauszus committed May 16, 2013
1 parent 4342ee3 commit 1a362c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PS3BT.cpp
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion PS3USB.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 1a362c5

Please sign in to comment.