Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CRAC-Strat_2017_homologation_gros_rob by
Diff: Instruction/Instruction.h
- Revision:
- 4:88431b537477
- Parent:
- 0:ad97421fb1fb
- Child:
- 11:ed13a480ddca
diff -r 19f2285a4757 -r 88431b537477 Instruction/Instruction.h --- a/Instruction/Instruction.h Sun Apr 17 08:31:59 2016 +0000 +++ b/Instruction/Instruction.h Sun Apr 17 14:03:03 2016 +0000 @@ -85,16 +85,25 @@ **/ enum E_InstructionNextActionJumpType charToInstructionNextActionJumpType(char type); -/** -* -**/ +/****************************************************************************************/ +/* FUNCTION NAME: stringToInstruction */ +/* DESCRIPTION : Conversion d'une ligne du fichier de strat en instruction */ +/****************************************************************************************/ struct S_Instruction stringToInstruction(char line[]); -/** -Charger toutes les instructions du fichier de strat -Il faut utiliser strcpy(cheminFileStart,"/local/strat.txt"); -**/ +/****************************************************************************************/ +/* FUNCTION NAME: loadAllInstruction */ +/* DESCRIPTION : Charger toutes les instructions du fichier de stratégie */ +/* Il faut utiliser strcpy(cheminFileStart,"/local/strat.txt"); */ +/* pour indiquer le fichier à utiliser */ +/****************************************************************************************/ void loadAllInstruction(void); +/****************************************************************************************/ +/* FUNCTION NAME: FileExists */ +/* DESCRIPTION : Permet de vérifier si un fichier existe */ +/****************************************************************************************/ +int FileExists(const char *fname); + #endif \ No newline at end of file
