summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorSam Spillaz <smspillaz@gmail.com>2008-04-26 20:53:39 +0800
committerSam Spillaz <smspillaz@gmail.com>2008-04-26 20:53:39 +0800
commit705134d13bbcd8311d61c27206bcaa56dde06152 (patch)
tree31bf30084e0d89eef98021b898784fe3754e5d56 /connect.c
parentfb03a2afe5da50ce82f7075b34f03b2ddbc412c2 (diff)
downloadwiimote-705134d13bbcd8311d61c27206bcaa56dde06152.tar.gz
wiimote-705134d13bbcd8311d61c27206bcaa56dde06152.tar.bz2
* Part 3: Split callbacks into callback.c
Diffstat (limited to 'connect.c')
-rw-r--r--connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/connect.c b/connect.c
index c9b4036..10bcb27 100644
--- a/connect.c
+++ b/connect.c
@@ -10,7 +10,7 @@ allocateCallbackFunction (cwiid_wiimote_t *wiimote, int nWiimote)
if (nWiimote > MAX_WIIMOTES)
return FALSE;
- if (cwiid_set_mesg_callback (wiimote, cwiid_callback))
+ if (cwiid_set_mesg_callback (wiimote, wiimoteCWiiDCallback))
{
fprintf(stderr, "Could not set mesg callback\n");
return FALSE;
@@ -261,7 +261,7 @@ Bool checkConnected (void *vd)
set_rpt_mode(ad->cWiimote[ad->nWiimote].wiimote, rpt_mode);
/* Check to see if there is a mesg reporting
- handler (Should be cwiid_callbackx, where X is
+ handler (Should be wiimoteCWiiDCallbackx, where X is
the Wii Remote iter
*/
/* FIXME !mesg is here unconditionally true */