Révision 129
Ajouté par Pape Demba AMAR il y a environ 3 ans
main.c | ||
---|---|---|
|
||
//Fonction ? modifier !!!!!
|
||
void traitement(char * trame)
|
||
{
|
||
{
|
||
static int cpt=0;
|
||
cpt++ ;
|
||
printf ("> %s\n",trame);
|
||
}
|
||
|
||
... | ... | |
exit(-1);
|
||
}
|
||
/*if (trame_cmp("$GPGGA suite chaine","GPGGA")!=1){
|
||
printf ("Erreur Test unitaire trame_cmp.\n");
|
||
printf ("Erreur Test unitaire trame_cmp.\n");https://forge.uca.fr/svn/https-forge-uca-fr-svn-polytech-ge-sp4abc-2022/branch/AMAR
|
||
exit(-1);
|
||
}*/
|
||
}
|
Formats disponibles : Unified diff
Déclaration de la variable static dans la fonction de traitement et vérification incrémentation variable.