Size of LDR file
Subscribe
Hi,
I open the Test.ldr into a buffer LDR_PATH and the size of the buffer is 111312 which is correct with number of arrays in Test.ldr
unsigned char LDR_PATH[] = {
#include "C:/Test.ldr"
};
Then I define the size of Read_BUFF to be the same as previous buffer (LDR_PATH). But it takes just 45775 buffer.
unsigned char Read_BUFF[sizeof(LDR_PATH)] = {0};
What is wrong?
Please log in to reply.