Skip to content

Commit 8de0b40

Browse files
Josh-Tsaiamstan
authored andcommitted
fwk: add the temp sensor id off
We would like to use the temp sensor id to link the sensor source for customized fan control feature. But we need a sensor ID (e.g. off) to wait for the system to update the sensor source. This change adds the TEMP_SENSOR_OFF id in the enum temp_sensor_id. BRANCH=fwk-dogwood-27111 BUG=None TEST=zmake build marigold pass (can't test this change,does not affect any function) Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
1 parent a41872a commit 8de0b40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

zephyr/shim/include/temp_sensor/temp_sensor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ enum temp_sensor_id {
121121
DT_FOREACH_CHILD_SEP(TEMP_SENSORS_NODEID, TEMP_SENSOR_ID, (, )),
122122
DT_FOREACH_CHILD_SEP(TEMP_SENSORS_NODEID, TEMP_SENSOR_ID_DEV, (, )),
123123
TEMP_SENSOR_COUNT,
124+
TEMP_SENSOR_OFF = 0xff,
124125
};
125126

126127
/* PCT2075 access array */

0 commit comments

Comments
 (0)