diff options
Diffstat (limited to 'include/temp_sensor.h')
-rw-r--r-- | include/temp_sensor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/temp_sensor.h b/include/temp_sensor.h index 04b7e868ff..687618fa63 100644 --- a/include/temp_sensor.h +++ b/include/temp_sensor.h @@ -41,6 +41,12 @@ struct temp_sensor_t { int action_delay_sec; }; +/* + * Defined in board_temp_sensor.c. Must be in the same order as + * in enum temp_sensor_id. + */ +extern const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT]; + /** * Get the most recently measured temperature for the sensor. * |