Part Number: TMS320F280039
Hi Team,
There's an issue from the customer need your help:
I define variable uint16 a=0 under Timer0Intc.C file, and extern it in Timer0Int.h file, extern uint16 a=0. After the program runs, the variable a is not valued elsewhere, but it will be read in other .c files. Through online observation, it is found that the value of a is not 0, but a random number. I reduced the tasks in the interrupt function and found that a can be initialized to 0. What causes the external global variables not to be initialized?
Thanks & Regards,
Ben
