Removed unused variables
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user