FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Datatype declaration error:: ft_bool_t FT_Esd_BitmapHandleUse[] in FT_Esd_Dl.c?  (Read 7528 times)

techtoys

  • Newbie
  • *
  • Posts: 18
    • View Profile

Studying how EVE Screen Designer 4.5 works and found a datatype mismatch in FT_Esd_Dl.c.

This file is stored at ./EVE Screen Designer/Libraries/FT_Esd_Framework/

Data type for FT_Esd_BitmapHandleUse[] declared as ft_bool_t.

However, browsing down the source code at line #251 an assignment to 2 is declared.

Code: [Select]
if ((handle < FT_ESD_BITMAPHANDLE_NB) && (handle != FT_ESD_SCRATCHHANDLE)) // When valid and not using scratch handle
{
Ft_Esd_BitmapHandleUse[handle] = 2; // In use
}

This leads to compile error for some other toolchain.
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile

Hello,

Thanks for pointing this out!
This issue has been fixed in ESD 4.6 due to be released shortly.

Best Regards,
FTDI Community
« Last Edit: June 10, 2019, 11:39:04 AM by FTDI Community »
Logged