Dear all
Would you be so kind as to help me understand why number of free blocks increases when number of free bytes decreases, please? I'm updating GUI via GUI_Delay. Then I'm checking the memory status as follows:
while (true)
{
GUI_Delay(1);
lgGUIFreeBytes = GUI_ALLOC_GetNumFreeBytes();
lgGUIUsedBytes = GUI_ALLOC_GetNumUsedBytes();
lgGUIFreeBlocks = GUI_ALLOC_GetNumFreeBlocks();
lgGUIUsedBlocks = GUI_ALLOC_GetNumUsedBlocks();
}
What I've noticed is that by opening a new window, with edit widgets among others, the lgGUIFreeBlocks number increases, as shown in the attached picture.
Thanks
Would you be so kind as to help me understand why number of free blocks increases when number of free bytes decreases, please? I'm updating GUI via GUI_Delay. Then I'm checking the memory status as follows:
while (true)
{
GUI_Delay(1);
lgGUIFreeBytes = GUI_ALLOC_GetNumFreeBytes();
lgGUIUsedBytes = GUI_ALLOC_GetNumUsedBytes();
lgGUIFreeBlocks = GUI_ALLOC_GetNumFreeBlocks();
lgGUIUsedBlocks = GUI_ALLOC_GetNumUsedBlocks();
}
What I've noticed is that by opening a new window, with edit widgets among others, the lgGUIFreeBlocks number increases, as shown in the attached picture.
Thanks