Adafruit Max31856 thermocouple amp and Max31865 RTD amp codes will not compile

And you shouldn't call both variables "max".

You shouldn't call either variable max.