aboutsummaryrefslogtreecommitdiffstats
path: root/src/temperature/temperature.h
blob: 0c1ba2e7b090469432da3139202be00ab052bdc2 (plain)
1
2
3
4
5
6
7
8
9
#define TEMP_V25 0.760
#define TEMP_AVG_SLOPE 0.0025
#define TEMP_V_BOARD 3.0

// Conpute the current temperature
void temperature_update();

// Return 1 if the the current temperature is valid, and write it into temp
int temperature_get(float *temp);