From 05921ecae66e9357add9138d582d9788687ebbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 11 May 2010 18:58:23 +0000 Subject: fixed typo when registering nunchuck svn path=/trunk/externals/hardware/wiimote/; revision=13512 --- wiimote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.1