Unusual 'expected error' for HC08!

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unusual 'expected error' for HC08!

1,459 次查看
coolgoose
Contributor I
Hello,

I'm trying to build an application around HCS08 MCU and MC13213 transceiver using CW IDE version 5.7.
The following code is from the application source code file:

extern tTxPacket gsTxPacket;
extern tRxPacket gsRxPacket;


/* Initialize the packet.*/
gsTxPacket.u8DataLength = 0; -----------------------> Error occurs here
gsTxPacket.pu8Data = &gau8TxDataBuffer[0];
gsTxPacket.u8MaxDataLength = 128;
gsRxPacket.u8DataLength = 0;

I'm getting an error as follows:
[Error : c2450: Expected: ;]---->for the indicated line

thanks in advance

Message Edited by J2MEJediMaster on 2007-04-12 10:58 AM

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

756 次查看
CrasyCat
Specialist III
Hello
 
would need the whole definition of type tTxPacket to investigate.
 
CrasyCat