Renaming WiimoteState_t to wiimote_callback_data_t

This commit is contained in:
Ryan Pavlik
2011-06-20 10:16:43 -05:00
parent 3ae8ff0139
commit b0d506d433
2 changed files with 4 additions and 4 deletions

View File

@@ -194,7 +194,7 @@ int wiiuse_poll(struct wiimote_t** wm, int wiimotes) {
int wiiuse_update(struct wiimote_t** wiimotes, int nwiimotes, wiiuse_update_cb callback) {
int evnt = 0;
if (wiiuse_poll(wiimotes, nwiimotes)) {
static struct WiimoteState_t s;
static struct wiimote_callback_data_t s;
int i = 0;
for (; i < nwiimotes; ++i) {
switch (wiimotes[i]->event) {