matsstaff / stc1000p

Programmable thermostat firmware and arduino based uploader for the STC-1000 thermostat
GNU General Public License v3.0
261 stars 47 forks source link

optimize the temperare LUT interpolation #79

Closed seanmcveigh closed 8 years ago

seanmcveigh commented 8 years ago

saved 50 instructions by removing nearly identical 32-bit arithmetic. I wish there was a 24-bit primitive!

matsstaff commented 8 years ago

Another nice one! Thanks!