LCD_VERB_ZIG-Unknown Identifiier

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
Sefi
Posts: 56
Joined: Mon Sep 29, 2008 10:26 am
Has thanked: 9 times
Been thanked: 14 times

LCD_VERB_ZIG-Unknown Identifiier

Post by Sefi »

Hello everyone,

Using FC 5.5.2.1 I have a project that compiled and linked OK before. have made some changes to it using the latest version of FC and now get the following compilation error:
KW2-18F66K22.c(2955:6): error: unknown identifier 'LCD_VERB_ZIG'
in the Ext properties of the Zigbee component have tried setting the Verbose setting to unchecked and still get the same error. The LCD I am using is a custom touch LCD which works fine with other projects.

Any ideas please?

Many thanks
Sefi

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD_VERB_ZIG-Unknown Identifiier

Post by Benj »

Hi Sefi,

Would you mind attaching your file so we can have a look, or is the bug present with a new v5 program using the Zigbee component?

Sefi
Posts: 56
Joined: Mon Sep 29, 2008 10:26 am
Has thanked: 9 times
Been thanked: 14 times

Re: LCD_VERB_ZIG-Unknown Identifiier

Post by Sefi »

OK, I have managed to resolve this but it needs to be reported as a bug fix.

in the [Defines] section of this component the Global Variable LCD_VERB_ZIG is defined as:

Code: Select all

MX_UINT8 %a_LCD_VERB_ZIG = 0;
This needs to be changed to:

Code: Select all

MX_UINT8 LCD_VERB_ZIG = 0;
This is probably the easiest fix for this as the variable is checked in 2 other routines, delms and Get_At_Response and one would need to change the 2 other routines to reflect that this variable has been declared with the instance prefix. However as there is unlikely to be 2 instances of this component in any project the way I have done it is probably the easiest.

Could I please ask someone at MX to include this for the next release.

many thanks
Sefi

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD_VERB_ZIG-Unknown Identifiier

Post by Benj »

Hi Sefi,

Thanks for the bug spot, I will get this sorted in the source.

Post Reply