Page 1 of 1

New GOTO problem

Posted: Wed Nov 19, 2014 3:04 pm
by Chris_MIRA
Hi,
Im having a recurrence of a compiling problem which seems to relate to using the GOTO component macro...
The programme works in simulation fine but when attempting to compile, fails and comes up with errors regarding the GOTO.
Ive tried the previous work arounds in older FC versions (see my older posts) and have left work around C code in the Ini MACRo for you to see)
Programme is attached, please help!
Regards,
Chris

Re: New GOTO problem

Posted: Wed Nov 19, 2014 3:59 pm
by medelec35
Hi Chris,
Looks like the goto bug has not yet been sorted.

As a Temporary fix, can you replace

Code: Select all

#define FCC_IniSet_B FCC__B
with

Code: Select all

#define FCC__B FCC_Ini_file_B
, in your supplementary code.

You will also nee to move the interrupt before main loop so its only activated once.

Finally with the feedback pot placed within interrupt macro, corruption could occur as a warning is flagged up about it.

Martin

Re: New GOTO problem

Posted: Wed Nov 19, 2014 5:41 pm
by Benj
The Flowcode engineer had closed these bugs in the bug tracker but having a closer look the reason for closing the bugs was that he didn't understand the issue!!!

Anyway I've re-opened the bugs with the strict instructions to come and see me if they don't understand.

Sorry for the inconvenience, this is very annoying as I was sure it had been ticked off.

Now to search through the fixed bugs to see what else has been prematurely taken off the list.

Re: New GOTO problem

Posted: Thu Nov 20, 2014 10:57 am
by Chris_MIRA
The code now compiles! Thanks for all your help!
regards,
Chris