Révision 94
Ajouté par annoyau il y a environ 4 ans
branch/NOYAU/sp4a12/main.c | ||
---|---|---|
|
||
//Fonction ? modifier !!!!!
|
||
void traitement(char * trame)
|
||
{
|
||
{
|
||
static int cpt=0 ;
|
||
cpt++ ;
|
||
printf ("> %s\n",trame);
|
||
}
|
||
|
||
... | ... | |
printf ("Erreur Test unitaire basique.\n");
|
||
exit(-1);
|
||
}
|
||
if (trame_cmp("$GPGGA suite chaine","GPGGA")!=1){
|
||
/* if (trame_cmp("$GPGGA suite chaine","GPGGA")!=1){
|
||
printf ("Erreur Test unitaire trame_cmp.\n");
|
||
exit(-1);
|
||
}
|
||
... | ... | |
if (trame_cmp("$APRMC...", "GPGGA")!=0){
|
||
printf ("Erreur Test unitaire trame_cmp.\n");
|
||
exit(-1);
|
||
}
|
||
} */
|
||
}
|
||
|
||
// Ne pas modifier cette fonction
|
branch/NOYAU/sp4a12/sp4a.depend | ||
---|---|---|
# depslib dependency file v1.0
|
||
1619767802 source:e:\polytech\tpsp4\sp4a12\trame.c
|
||
<stdio.h>
|
||
<stdlib.h>
|
||
"trame.h"
|
||
|
||
1619767802 e:\polytech\tpsp4\sp4a12\trame.h
|
||
|
||
1619769593 source:e:\polytech\tpsp4\sp4a12\main.c
|
||
<stdio.h>
|
||
<stdlib.h>
|
||
<strings.h>
|
||
"trame.h"
|
||
|
Formats disponibles : Unified diff
Ajout de la variable CPT et vérification qu'il s'incrémente correctement.