external structur and L1823

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

external structur and L1823

ソリューションへジャンプ
940件の閲覧回数
ExternalStructu
Contributor I

Hi,

I do not understand the problem

I declare in header file

 

 

typedef union{  byte bRS_Event;  struct  {    byte bStatus_1:1;    byte bStatus_2:1;        }u;}ST_FLAGS_RS_EVENT;extern ST_FLAGS_RS_EVENT stRS_Event;

 

 

 

L1823: External object stRS_Event in C:\Prog\GRx\Project1.2\Project_Data\Standard\ObjectCode\trames_rs.c.o created by default

 

Help me

 

Thank you

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
385件の閲覧回数
CrasyCat
Specialist III

Hello

 

The code snippet you have provided below is showing the declaration for variable stRS_Event.

Did you place a definition fro the same variable in one of your application .c file?

 

Definition should look as follows and must reside in a source file (not an include file).:

 

ST_FLAGS_RS_EVENT stRS_Event;

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
386件の閲覧回数
CrasyCat
Specialist III

Hello

 

The code snippet you have provided below is showing the declaration for variable stRS_Event.

Did you place a definition fro the same variable in one of your application .c file?

 

Definition should look as follows and must reside in a source file (not an include file).:

 

ST_FLAGS_RS_EVENT stRS_Event;

 

CrasyCat

0 件の賞賛
返信