aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-05-11 18:58:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-05-11 18:58:23 +0000
commit05921ecae66e9357add9138d582d9788687ebbd8 (patch)
tree8ccaf67dbe36de8d9f145a66a526b7f96f2f998b
parent75b6a3976f58057930f54b0da524dead2007f1b1 (diff)
fixed typo when registering nunchuck
svn path=/trunk/externals/hardware/wiimote/; revision=13512
-rw-r--r--wiimote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiimote.c b/wiimote.c
index 8f25d3e..df52215 100644
--- a/wiimote.c
+++ b/wiimote.c
@@ -500,8 +500,8 @@ static void wiimote_cwiid_message(t_wiimote *x, union cwiid_mesg*mesg) {
case CWIID_EXT_NONE:
verbose(1, "No extension attached");
break;
+#ifdef CWIID_RPT_NUNCHUK
case CWIID_EXT_NUNCHUK:
-#ifdef CWIID_RPT_NUNCHCUK
post("Nunchuk extension attached");
if(cwiid_get_acc_cal(x->wiimote, CWIID_EXT_NUNCHUK, &x->nc_acc_cal)) {
post("Unable to retrieve nunchuk calibration");