fix rumble flag and windows compiler warning

This commit is contained in:
Lysann Kessler
2012-12-08 22:44:48 +01:00
parent d7a5d77489
commit cfd8209c23
2 changed files with 2 additions and 2 deletions

View File

@@ -629,7 +629,7 @@ int wiiuse_send(struct wiimote_t* wm, byte report_type, byte* msg, int len) {
{
/* Rumble flag for: 0x11, 0x13, 0x14, 0x15, 0x19 or 0x1a */
if (WIIMOTE_IS_SET(wm, WIIMOTE_STATE_RUMBLE))
msg[1] |= 0x01;
msg[0] |= 0x01;
break;
}
default: