Projet

Général

Profil

« Précédent | Suivant » 

Révision 901

Ajouté par ahkurklu il y a environ 4 ans

Modification fonction rectrame

Voir les différences:

branch/KURKLU/sp4c12/sp4c12/sp4c12/sp4c12.c
int rectrame(char * Buffer){
int i=0;
char c;
char c1,c2;
char c;
while(uart0_rx()!='$');
while(uart0_rx()!='*'){
c = uart0_rx();
while(c=uart0_rx()!='*'){
Buffer[i]= c;
i=i+1;
}
c1 = uart0_rx();
c2 = uart0_rx();
return 1;
return i;
}

Formats disponibles : Unified diff