code petit robot pour homologation
Fork of CRAC-Strat_2017_V2 by
Diff: Strategie/Strategie.cpp
- Revision:
- 10:a788d9cf60f2
- Parent:
- 9:d0042422d95a
- Child:
- 11:ed13a480ddca
--- a/Strategie/Strategie.cpp Thu Apr 28 08:11:36 2016 +0000 +++ b/Strategie/Strategie.cpp Fri Apr 29 09:14:27 2016 +0000 @@ -220,6 +220,7 @@ gameTimer.reset(); gameTimer.start(); jack.fall(NULL); + SendRawId(GLOBAL_START); break; case ETAT_GAME_LOAD_NEXT_INSTRUCTION: /* @@ -329,6 +330,9 @@ } waitingAckFrom = 0; waitingAckID = 0; + actual_instruction = instruction.nextLineOK;//On indique que l'on va charger l'instruction suivante + gameEtat = ETAT_GAME_LOAD_NEXT_INSTRUCTION; + return; break; default: //Instruction inconnue, on l'ignore