I am trying to fix some library’s that broke when writing non “const” vars to PROGMEM depreciated with avr 1.6. I have tried simply changing the offending lines to const, e.g.:
static PROGMEM PFLOAT coeff_inv;
static const PROGMEM PFLOAT coeff_inv;
But this results in a cascade of errors throughout the library. See attached.
Is there a more elegant solution to this problem?
thermocouple.cpp (11.5 KB)
thermocouple.h (6.26 KB)