Searched refs:SLOPE_FACTOR (Results 1 – 2 of 2) sorted by relevance
55 num *= SLOPE_FACTOR; in compute_intercept_slope()60 priv->sensor[i].offset = (p1[i] * SLOPE_FACTOR) - in compute_intercept_slope()71 num = (adc_code * SLOPE_FACTOR) - s->offset; in code_to_degc()
14 #define SLOPE_FACTOR 1000 macro