JianyuWang0623 commented on code in PR #15891: URL: https://github.com/apache/nuttx/pull/15891#discussion_r1966414841
########## drivers/thermal/thermal_core.c: ########## @@ -835,7 +835,7 @@ void thermal_zone_device_update(FAR struct thermal_zone_device_s *zdev) if (ret < 0) { therr("Failed to get temperature from zone %s \n", zdev->name); - goto unlock; + goto delayed_work; Review Comment: @anchao An abnormal case actually, the `zdev->ops->get_temp` should return zero on normal. (line 834) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org