Skip to content

Commit

Permalink
drivers/thermal: Break loop if matching active trip point
Browse files Browse the repository at this point in the history
Co-authored-by: Donny(董九柱) <[email protected]>
  • Loading branch information
JianyuWang0623 and Donny9 committed Feb 14, 2025
1 parent 45a797d commit 88c8a65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/thermal/thermal_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ void thermal_zone_device_update(FAR struct thermal_zone_device_s *zdev)
(pos->target != 0 && pos->target != THERMAL_NO_TARGET))
{
delay = zdev->params->polling_delay;
break;
}
}

Expand Down

0 comments on commit 88c8a65

Please sign in to comment.