When I compile my code the compiler shows me this message.
using temporary as lvalue [-fpermissive]
sensors.get(i).runningMedian = ds18b20.getTempCByIndex(i);
sensors is a linke liste that store sensor which is struct. runningMedian is the property/field inside the struct.
I don’t know why this happen. This problem doesn’t show up when the sensor was created and I was trying to assign the value to it, but the code after that start happen problem.