Révision 209
Ajouté par nibenmbare il y a presque 4 ans
main.c | ||
---|---|---|
return comp;
|
||
|
||
}
|
||
|
||
int decode_int(char c)
|
||
{
|
||
int b = c - 48;
|
||
return b;
|
||
}
|
||
void test_decode_int(void)
|
||
{
|
||
|
||
}
|
||
//Fonction ? modifier !!!!!
|
||
void traitement(char * trame)
|
||
{
|
||
static int cpt=0 ;
|
||
cpt++ ;
|
||
printf ("> %s\n",trame);
|
||
cpt++ ;
|
||
|
||
if ((trame_cmp(trame,"GPGGA")) == 1)
|
||
{
|
||
printf("> %s\n",trame);
|
||
}
|
||
|
||
}
|
||
|
||
|
||
//Ajouter vos tests unitaires dans cette fonction.
|
||
void tests_unitaires(void){
|
||
if (5!=5){
|
Formats disponibles : Unified diff
TP2