mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Shift one so it the same as setLedOn etc.
This commit is contained in:
parent
4342ee3c4e
commit
1a362c5310
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue