Skip to content

Commit

Permalink
Merge branch 'master' into refactor/fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobgkau authored Jan 27, 2022
2 parents 205c6ff + 4bd008f commit af08beb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ pub struct FanCurve {

impl FanCurve {
/// Adds a point to the fan curve
#[must_use]
pub fn append(mut self, temp: i16, duty: u16) -> Self {
self.points.push(FanPoint::new(temp, duty));
self
Expand Down

0 comments on commit af08beb

Please sign in to comment.