From 876b16820531b6247221d60d0ad7ecf5dea3bf41 Mon Sep 17 00:00:00 2001
From: "remi.greub" <remi.greub@hes-so.ch>
Date: Wed, 2 Apr 2025 18:32:05 +0200
Subject: [PATCH] meme chose mais qui marche mieux (sans l'utilisation de
 rec_eth

---
 G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c b/G3_TP1_labyrinth_slave_etu/src/labyrinth_slave.c
index 6552317..55d9971 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);
-- 
GitLab