Skip to content

Commit

Permalink
Fix typo that didn't get saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstrouse committed Mar 12, 2023
1 parent d8e7e26 commit 005551e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions i2c-bus/SequentSmartFan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class SequentSmartFan extends i2cDeviceBase {
let curve = this.fanCurve.log;
let b = 1.06;
let temp = utils.convert.temperature.convertUnits(this.values.cpuTemp, this.values.units, 'C');
let start = utils.convert.temperature.convertUnits(curve.start, this.values.unts, 'C');
let start = utils.convert.temperature.convertUnits(curve.start, this.values.units, 'C');

switch (curve.ramp) {
case 'slow':
Expand All @@ -254,7 +254,7 @@ export class SequentSmartFan extends i2cDeviceBase {
else if (this.fanCurve.curve === 'exp') {
let curve = this.fanCurve.exp;
let temp = utils.convert.temperature.convertUnits(this.values.cpuTemp, this.values.units, 'C');
let start = utils.convert.temperature.convertUnits(curve.start, this.values.unts, 'C');
let start = utils.convert.temperature.convertUnits(curve.start, this.values.units, 'C');
if (temp > start) {
let b = 1.07;
switch (curve.ramp) {
Expand Down

0 comments on commit 005551e

Please sign in to comment.