Delete unsued variables, macros, etc not completly

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Delete unsued variables, macros, etc not completly

Post by Jan Lichtenbelt »

I used an old flowcode and deleted all variables, macro's etc. and added my new flowcode. But try to compile to HEX and see the errors.

Kind regards

Jan

Sorry Test_Timer1_V2.fcfx was the wrong file. This is the correct one.
Test_temp_str_V2.fcfx
(12.66 KiB) Downloaded 291 times

mnf
Valued Contributor
Valued Contributor
Posts: 1188
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Delete unsued variables, macros, etc not completly

Post by mnf »

Hi Jan,

The problem is related to the GSM component.
If you call it's Initialise macro then it declares the necessary variables and compiles ok - either that or delete it (as it is not used?)

This seems to be a a slight bug - as you are not actually using any part of the GSM component? FC should compile and remove the unused code - seems part of the component is still being attempted to compile - and without the Initialise the setup is incorrect?

Martin

Post Reply