From ddc645e1256393e219d9f125e368592ba3ca5906 Mon Sep 17 00:00:00 2001 From: Juan Sebastian Casallas Date: Mon, 16 Jan 2012 19:21:41 -0600 Subject: [PATCH] pre-declare wiiuse_motion_plus on motion_plus.h -This ensures the function can be called outside of motion_plus.c -Also eliminates an explicit declaration warning on events.c --- src/motion_plus.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/motion_plus.h b/src/motion_plus.h index 88cdba7..b0c0401 100644 --- a/src/motion_plus.h +++ b/src/motion_plus.h @@ -49,6 +49,8 @@ void motion_plus_event(struct motion_plus_t* mp, int exp_type, byte* msg); void wiiuse_motion_plus_handshake(struct wiimote_t *wm, byte *data,unsigned short len); +void wiiuse_probe_motion_plus(struct wiimote_t *wm); + /** @} */ #ifdef __cplusplus