Delete unsued variables, macros, etc not completly

Moderator: Benj

User avatar
Jan Lichtenbelt
Posts: 785
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 122 times
Been thanked: 259 times
Contact:

Delete unsued variables, macros, etc not completly

Postby Jan Lichtenbelt » Sat Aug 03, 2019 7:23 pm

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 24 times

mnf
Valued Contributor
Valued Contributor
Posts: 503
Joined: Wed May 31, 2017 11:57 am
Has thanked: 52 times
Been thanked: 278 times
Contact:

Re: Delete unsued variables, macros, etc not completly

Postby mnf » Sun Aug 04, 2019 8:13 am

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