Removed unused variables

This commit is contained in:
Jan Ciger
2011-09-15 01:32:09 +02:00
parent 3c9cfdf656
commit 1c5bb6cb33
3 changed files with 0 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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 */