#ifndef TSENSOR_COMMON_H #define TSENSOR_COMMON_H #include #include // Sensor models macro: (do not touch!) #define AD7414 1 #define AD7415 2 typedef int16_t tTSensorTemp; #define THERMO_SENSOR_INVALID_TEMP_VALUE (-127) #define THERMO_SENSOR_AVGTEMP_TO_INT(xTSensorTemp) ((int8_t)((uint16_t)(xTSensorTemp) >> 8)) #endif