Page 1 of 1

Delete unsued variables, macros, etc not completly

Posted: Sat Aug 03, 2019 7:23 pm
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 565 times

Re: Delete unsued variables, macros, etc not completly

Posted: Sun Aug 04, 2019 8:13 am
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