diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-11-02 16:43:33 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-11-02 16:43:33 +0000 |
commit | f5527cb9a005164c5e51b2ee7ed63b9e0c733659 (patch) | |
tree | a34d7f1d343c3d25c548166a2193a9a35de33ee5 | |
parent | 32f79b1cfc3819a3af1e56f9bb6bf8ba03ecb2d8 (diff) |
output state on unsuccessfull connection attempt
svn path=/trunk/externals/hardware/wiimote/; revision=12717
-rw-r--r-- | wiimote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,6 @@ static int addWiimoteObject(t_wiimote*x, int id) { return 1; } - static t_wiimote*getWiimoteObject(const int id) { t_wiimoteList*wl=g_wiimoteList; if(NULL==wl) @@ -964,6 +963,7 @@ static void wiimote_doConnect(t_wiimote *x, t_symbol *addr, t_symbol *dongaddr) if(NULL==x->wiimote) { pd_error(x, "wiimote: unable to connect"); + wiimote_out_status(x, x->connected); return; } |