Skip to content

Commit

Permalink
Merge pull request #53 from susanwl/master
Browse files Browse the repository at this point in the history
Fix atasmart temperature correction
  • Loading branch information
vmatare authored May 29, 2018
2 parents 3bb04a7 + 4d6f613 commit 0f39158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ void AtasmartSensorDriver::read_temps() const
throw SystemError(MSG_T_GET(path_) + std::to_string(tmp) + " isn't a valid temperature.");
}

temp_state.add_temp(int(tmp));
temp_state.add_temp(int(tmp) + correction_[0]);
}
}
#endif /* USE_ATASMART */
Expand Down

0 comments on commit 0f39158

Please sign in to comment.