From e665159ce7fbc6edaab6c1a2c6fd47cc5ec31ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20LACROIX?= Date: Mon, 3 Apr 2023 13:21:54 +0200 Subject: [PATCH] =?UTF-8?q?"La=20Doc=20=C3=89tait=20Fausse"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- software/raspberry/superviseur-robot/tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/raspberry/superviseur-robot/tasks.cpp b/software/raspberry/superviseur-robot/tasks.cpp index 3b31e75..347d7e0 100644 --- a/software/raspberry/superviseur-robot/tasks.cpp +++ b/software/raspberry/superviseur-robot/tasks.cpp @@ -68,7 +68,7 @@ void Tasks::robotLossCounter(){ rt_mutex_acquire(&mutex_compteurRobotLoss, TM_INFINITE); if(compteurRobotLoss >= 3){ // send info to monitor - WriteInQueue(&q_messageToMon, new Message(MESSAGE_MONITOR_LOST)); + WriteInQueue(&q_messageToMon, new Message(MESSAGE_ANSWER_COM_ERROR)); // TODO : c'est probablement faux mais on a suivi la doc *sig* // close robot rt_mutex_acquire(&mutex_robot, TM_INFINITE);