/* Gets a whole set of temperature data including data, accuracy and timestamp.  */
void inv_get_temp_set(long *data, int *accuracy, inv_time_t *timestamp)
/* Gets a whole set of temperature data including data, accuracy and timestamp.  */
void inv_get_temp_set(long *data, int *accuracy, inv_time_t *timestamp)
{
    data[0] = sensors.temp.calibrated[0];
    if (timestamp)
        *timestamp = sensors.temp.timestamp;
    if (accuracy)
        *accuracy = sensors.temp.accuracy;
}