This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need Expert C answer

This is not a problem but a question of you C experts. I am trying to use Keil tools so I thought I would start here.
The following typedef is declared in a header file that is included in a header file that is included in a header file that is included in a header file about five deep.
My question is basic C. Why would the programmer use
a struct of one uint16?
I can understand a callback to define a table of records in non-volatile memory. Don't ask me how the programmer planned to use this code. It's not used anywhere!

typedef struct
{ uint16 numRecs;
} nvBindingHdr_t;

By the way, the code is from Texas Instruments Z-Stack
for their ZigBee CC2530 devices.
Please educate me a bit.
Bradford

Parents Reply Children
No data