Could anybody tell me please what the problem is with the following function call?
The error is:Function definition different from previous definition
indicates on the function TxFrame()
All the functions are declared.
void main(void)
{
init_serial();
TxFrame(Frame);
}
void TxFrame(BYTE msg[])
{
int i;
WriteByte(StartFlag);
for (i=0;i<length;i++)
{
WriteByte(msg[i]);
}
WriteByte(StopFlag);
}
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum