.c:
void send_UART(uchar i)
{
ES=0;
TI=0;
SBUF=i;
while(TI==0);
TI=0;
ES=1;
}
void Send_Byte(uchar rxdbuf[],uchar bitt)
{
uchar i;
for (i=0;i<bitt;i++)
{
send_UART(rxdbuf[i]);
}
}
.h:
extern void send_UART(uchar i);
extern void Send_Byte(uchar rxdbuf[],uchar bitt) ;
错误:
.h里面:syntax error near 'rxdbuf',expected')'
.c里面:'_Send_Byte':different length of parameter lists |