31-07-2018, 08:53 PM
Hello,
Sorry for the delay of my answer.
See attached the code:
Then, the table is composed of 2 bytes e.g. 0x8E and 0xAD. So as the value is expressed in hexadecimal. Why do we need to cast the 0x8E to (unsigned char).
Thanks for your help.
B/R Philippe
Sorry for the delay of my answer.
See attached the code:
Code:
typedef unsigned char FCMN_UINT8_T;
#define FUTILS_CST_LENGTH_ID 2U
FCMN_UINT8_T MyTable[FUTILS_CST_LENGTH_ID] =
{
0x8E, 0xAD
};
Then, the table is composed of 2 bytes e.g. 0x8E and 0xAD. So as the value is expressed in hexadecimal. Why do we need to cast the 0x8E to (unsigned char).
Thanks for your help.
B/R Philippe
<t></t>