"La Doc Était Fausse"
This commit is contained in:
부모
0a74b96c5b
커밋
e665159ce7
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
|
|
@ -68,7 +68,7 @@ void Tasks::robotLossCounter(){
|
||||||
rt_mutex_acquire(&mutex_compteurRobotLoss, TM_INFINITE);
|
rt_mutex_acquire(&mutex_compteurRobotLoss, TM_INFINITE);
|
||||||
if(compteurRobotLoss >= 3){
|
if(compteurRobotLoss >= 3){
|
||||||
// send info to monitor
|
// 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
|
// close robot
|
||||||
rt_mutex_acquire(&mutex_robot, TM_INFINITE);
|
rt_mutex_acquire(&mutex_robot, TM_INFINITE);
|
||||||
|
|
|
||||||
불러오는 중…
Reference in a new issue