conditionally compile handshake_state field

This commit is contained in:
Lysann Schlegel
2012-12-08 18:01:29 +01:00
parent f9f896e605
commit 1df24b5c5a
3 changed files with 10 additions and 2 deletions

View File

@@ -205,8 +205,7 @@ void wiiuse_read(struct wiimote_t *wm, byte memory, unsigned addr, unsigned shor
* with this data.
*/
#define SYNC_HANDSHAKE 1
#ifdef SYNC_HANDSHAKE
#ifndef WIIUSE_SYNC_HANDSHAKE
void wiiuse_handshake(struct wiimote_t* wm, byte* data, uint16_t len)
{