Zigbee Module - Customise Code

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
Contact:

Zigbee Module - Customise Code

Post by Sefi »

I wonder if anyone can help with this issue:

in the zigbee module Custom Code section, the receive_Char(nTimeout) Macro, the macro appears to be empty, yet when you look at the component file the following line of code is present.

Code: Select all

return %a_UART_Receive(nTimeout);
Why is the code not appearing in the Custom code section?

many thanks
Sefi

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Zigbee Module - Customise Code

Post by LeighM »

Hi Sefi,

Sorry, there is a bug in the component code, the 'char' should be 'MX_UINT8'


MX_UINT8 Receive_Char(MX_UINT8 nTimeout)
{
/*Macro_Receive_Char_Start*/

return %a_UART_Receive(nTimeout);

/*Macro_Receive_Char_End*/
}

Post Reply