skot / ESP-Miner

A bitcoin ASIC miner for the ESP32
GNU General Public License v3.0
317 stars 114 forks source link

Hide the AxeOS Voltage Regulator Temperature on hardware that does not support #237

Closed skot closed 3 months ago

skot commented 3 months ago

Only Bitaxe with the TPS546 voltage regulator support measuring this temp. On other machines the AxeOS measurement should be hidden.

Hardware that has the TPS546:

image
benjamin-wilson commented 3 months ago

Rather than look at the specific board versions we can just check if the value is greater than the initialized value of 0. A temperature under 0 seems unlikely even in sub 0 temperatures.

https://github.com/skot/ESP-Miner/commit/c0a1f0f15a42465d5c2cc449facd01361e49303e