Home  >  Support  >  Support Forum  >  When using the command WrPortI (SPCR,&SPCRShadow,0x088);it shows the following error:
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

When using the command WrPortI (SPCR,&SPCRShadow,0x088);it shows the following error:

0 votes
line 7 : ERROR CODE -PARALLEL1.C : Return type (re)declared differently after use.
line 7 : ERROR CODE -PARALLEL1.C : Need function definition or declaration.
line 7 : ERROR CODE -PARALLEL1.C : Syntax error - or garbage at end of program.

Is there a need to define SPCR also in the code.If so,how can it be done?
asked Jun 23 in Rabbit Software by AISWARYA RAJ New to the Community (1 point)
edited Jun 23 by AISWARYA RAJ

Please log in or register to answer this question.

1 Answer

0 votes
It seems to me that, Those errors are not related to the above function WrPortI(), you do not need to define the SPCR in your application. If you provide the code here I will check what is the issue.
answered Jun 27 by cpigilam Veteran of the Digi Community (481 points)
Your M2M Expert™for Businessfor Developers
Newsletter SignupYouTubeGoogle+FacebookCopyright © 1996-2013 Digi International Inc. All rights reserved. Legal