This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error C132 in keil :not in formal parameter

void gps ()

{

unsigned char rx_data() ;

unsigned int LAT[9], LON[10];

unsigned char Temp, i;

if (rx_data() == ‘$’)

{

if( rx_data() == ‘G’)

{

if (rx_data() == ‘P’)

{

if (rx_data() == ‘R’)

{

if (rx_data() == ‘M’)

{

if (rx_data() == ‘C’)

{

while (rx_data() != ‘,’);

while (rx_data() != ‘,’);

/*checking for “A” condition*/

Temp = rx_data();

if (Temp == ‘A’||Temp == ‘V’)

{

while (rx_data() != ‘,’);

/*latitude values*/

LCDCmd (0x80);

for (i=0; i<9; i++)

{

LAT[i] = rx_data();

LCDData (LAT[i]);

}

while (rx_data() != ‘,’);

while (rx_data() != ‘,’);

/*longitude values*/

LCDCmd (0xc0);

for (i=0; i<10; i++)

{

LON[i] = rx_data();

LCDData (LON[i]);

}

}

}}}}}}

}

Could you tell why this error is cuming and solution on it? 

Parents Reply Children
No data