Révision 11
Ajouté par jeleroy il y a environ 4 ans
branch/leroy/sp4a12/main.c | ||
---|---|---|
//Fonction ? modifier !!!!!
|
||
void traitement(char * trame)
|
||
{
|
||
static int cpt=0;
|
||
static int cpt=0;
|
||
if (trame_cmp(trame,"GPGGA")==1){
|
||
printf ("> %s\n",trame);
|
||
}
|
||
cpt++;
|
||
}
|
||
|
||
... | ... | |
// Ne pas modifier cette fonction
|
||
int main(int argc,char ** argv)
|
||
{
|
||
|
||
tests_unitaires();
|
||
|
||
// Affichage des trames definies dans la table trames.
|
||
... | ... | |
int i=0;
|
||
while (trames[i])
|
||
traitement(trames[i++]);
|
||
|
||
if (!trame_init())
|
||
exit(-1);
|
||
// Affichage des trames du fichier gps.log
|
Formats disponibles : Unified diff
Affichage trame GPGGA