[an error occurred while processing this directive]
|
По прерыванию RI отправляю значение в функцию, приведенную ниже:
void UART_Decoder(unsigned char InByte)
{
switch (InByte)
{
case 5: SendByte(outStatus, 0); break;
case 10: PushStSt = 1; break;
case 42: PushStSt = 0; break;
}
}
Комментарий от Keil:
PERIMETR_LITE_UART.C(55): error C141: syntax error near 'void'