lavoiesl / osx-cpu-temp

Outputs current CPU temperature for OSX
GNU General Public License v2.0
924 stars 156 forks source link

add ambient temperature #42

Closed fvalle1 closed 1 year ago

fvalle1 commented 3 years ago

this PR adds the SMC value TA0V to read the ambient temperature

I split the main function to a main.cpp file and modified the Makefile accordingly

lavoiesl commented 1 year ago

Thank you for the idea. Upstream had changed, so I adapted your PR with 57aadd7690638022f5f3908f131144170559eebc