diff --git a/src/motion_plus.c b/src/motion_plus.c index d06ef75..ab52ffb 100644 --- a/src/motion_plus.c +++ b/src/motion_plus.c @@ -101,7 +101,6 @@ void wiiuse_motion_plus_handshake(struct wiimote_t *wm,byte *data,unsigned short wm->exp.nunchuk.flags = &wm->flags; wm->exp.mp.ext = 0; - wm->exp.mp.ext_initialized = 0; wiiuse_set_ir_mode(wm); wiiuse_set_report_type(wm); diff --git a/src/wiiuse.c b/src/wiiuse.c index f1189a6..0711cad 100644 --- a/src/wiiuse.c +++ b/src/wiiuse.c @@ -148,7 +148,6 @@ struct wiimote_t** wiiuse_init(int wiimotes) { wm[i]->exp.type = EXP_NONE; wm[i]->expansion_state = 0; - wm[i]->expansion_dattempts = 0; wiiuse_set_aspect_ratio(wm[i], WIIUSE_ASPECT_4_3); wiiuse_set_ir_position(wm[i], WIIUSE_IR_ABOVE); diff --git a/src/wiiuse.h b/src/wiiuse.h index 93c1f75..ce11f88 100644 --- a/src/wiiuse.h +++ b/src/wiiuse.h @@ -534,7 +534,6 @@ typedef struct guitar_hero_3_t { */ typedef struct motion_plus_t { - int ext_initialized; /**< is the pass-through device initialized? */ byte ext; /**< is there a device on the pass-through port? */ struct ang3s_t raw_gyro; /**< current raw gyroscope data */ @@ -715,7 +714,6 @@ typedef struct wiimote_t { WCONST byte handshake_state; /**< the state of the connection handshake */ WCONST byte expansion_state; /**< the state of the expansion handshake */ - WCONST byte expansion_dattempts; /**< how many times did we wait already */ WCONST struct data_req_t* data_req; /**< list of data read requests */ WCONST struct read_req_t* read_req; /**< list of data read requests */