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
This commit is contained in:
Juan Sebastian Casallas
2012-01-16 19:21:41 -06:00
parent 1b25cd6289
commit ddc645e125

View File

@@ -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_motion_plus_handshake(struct wiimote_t *wm, byte *data,unsigned short len);
void wiiuse_probe_motion_plus(struct wiimote_t *wm);
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus