a little spacing cleanup

This commit is contained in:
Ryan Pavlik
2011-09-14 09:36:20 -05:00
parent 2880d187c6
commit 9763c37525
2 changed files with 3 additions and 3 deletions

View File

@@ -683,7 +683,7 @@ void handshake_expansion(struct wiimote_t* wm, byte* data, uint16_t len) {
wiiuse_write_data(wm, WM_EXP_MEM_ENABLE, &buf, 1);
/* get the calibration data */
handshake_buf = (byte *)malloc(EXP_HANDSHAKE_LEN * sizeof(byte));
handshake_buf = (byte *)malloc(EXP_HANDSHAKE_LEN * sizeof(byte));
wiiuse_read_data_cb(wm, handshake_expansion, handshake_buf, WM_EXP_MEM_CALIBR, EXP_HANDSHAKE_LEN);
/* tell the wiimote to send expansion data */
@@ -883,7 +883,7 @@ static int state_changed(struct wiimote_t* wm) {
CROSS_THRESH_XYZ(wm->lstate.accel, wm->accel, wm->accel_threshold);
/* orientation */
CROSS_THRESH(wm->lstate.orient, wm->orient, wm->orient_threshold);
CROSS_THRESH(wm->lstate.orient, wm->orient, wm->orient_threshold);
}
/* expansion */

View File

@@ -192,7 +192,7 @@ static int wiiuse_connect_single(struct wiimote_t* wm, char* address) {
bacmp(bdaddr, BDADDR_ANY);*/
/* use address of device discovered */
addr.l2_bdaddr = *bdaddr;
}
/*