fix Windows compilation

This commit is contained in:
Lysann Schlegel
2012-11-12 11:27:40 +01:00
parent ad79a2ff53
commit 2e830fa6fa
2 changed files with 3 additions and 2 deletions

View File

@@ -616,11 +616,11 @@ static void handle_expansion(struct wiimote_t* wm, byte* msg) {
* a handshake with the expansion.
*/
void handshake_expansion(struct wiimote_t* wm, byte* data, uint16_t len) {
WIIUSE_DEBUG("handshake_expansion with state %d", wm->expansion_state);
int id;
byte val = 0;
byte buf = 0x00;
byte* handshake_buf;
WIIUSE_DEBUG("handshake_expansion with state %d", wm->expansion_state);
switch(wm->expansion_state) {
/* These two initialization writes disable the encryption */