This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: Cannot change the value of data struct with pointer, pointing to variable

Part Number: LAUNCHXL-F28379D


Hi Everyone,

First of all, happy New year 2024!

Actually Im workin in the design of generic purpose protecions/alarm system for F28379D.

I created a data struct composed by some structs and other fields and initiate its fields correctly:

  

The issue comes when I try to change directly the value of a pointer data field, for example rearme:

*(TablaProtecciones.Analogica[0].Control.Rearme) I cant change in this way the value, but in the debugger i can do it and the variable pointed changes too.

I've tried many ways but i can't get it.

Many thanks in adavance!