diff --git a/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c b/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c index 65523172e74d886bf626cc08153b8a57f2abe31e..55d99714da41716358f5db390ee5158b3ef4d095 100644 --- a/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c +++ b/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c @@ -92,7 +92,7 @@ int main(void) int len_rx = sizeof(master_tx_t)*2; int len_tx = sizeof(accel_t)*2; - int rec=sizeof(master_tx_t); + //int rec=sizeof(master_tx_t); accel_t *j; //unsigned char *tmpmstr; @@ -109,7 +109,7 @@ int main(void) send_eth(sizeof(accel_t), true); } //tmpmstr = rec_eth(&rec); - rec_eth(&rec); + //rec_eth(&rec); if(flag){ //lcd_filled_circle(mstr_prev[tmpmstr->ball_id].ball_coord.x, mstr_prev[tmpmstr->ball_id].ball_coord.y, mstr_prev[tmpmstr->ball_id].radius, LCD_BLACK); //lcd_filled_circle(mstr_now[tmpmstr->ball_id].ball_coord.x, mstr_now[tmpmstr->ball_id].ball_coord.y, mstr_now[tmpmstr->ball_id].radius, mstr_now[tmpmstr->ball_id].color);