Warning fix
This commit is contained in:
parent
595171acf5
commit
abe74c4f2c
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ Xbox360Controller::find_endpoints()
|
|||
void
|
||||
Xbox360Controller::set_rumble(uint8_t left, uint8_t right)
|
||||
{
|
||||
char rumblecmd[] = { 0x00, 0x08, 0x00, left, right, 0x00, 0x00, 0x00 };
|
||||
usb_interrupt_write(handle, endpoint_out, rumblecmd, sizeof(rumblecmd), 0);
|
||||
uint8_t rumblecmd[] = { 0x00, 0x08, 0x00, left, right, 0x00, 0x00, 0x00 };
|
||||
usb_interrupt_write(handle, endpoint_out, (char*)rumblecmd, sizeof(rumblecmd), 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue