diff options
-rw-r--r-- | aka.wiiremote/aka.wiiremote.c | 5 |
1 files changed, 1 insertions, 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); |