From ef417b58265bc400d687783c341f84c87b5daa09 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 22 Jul 2008 15:30:52 +0000 Subject: removed CFRunLoopRunInMode() in clock function since it doesn't seem to do anything there svn path=/trunk/externals/io/; revision=10207 --- aka.wiiremote/aka.wiiremote.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aka.wiiremote/aka.wiiremote.c b/aka.wiiremote/aka.wiiremote.c index 5834b63..7a113b6 100644 --- a/aka.wiiremote/aka.wiiremote.c +++ b/aka.wiiremote/aka.wiiremote.c @@ -538,12 +538,9 @@ void akawiiremote_clock(t_akawiiremote *x) t_atom status; connection = wiiremote_isconnected(x->wiiremote); - + if (x->connected == false && connection == true) // if the device is connected... { -#ifdef PD - CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true); -#endif wiiremote_getstatus(x->wiiremote); x->connected = true; SETLONG(&status, 1); -- cgit v1.2.1