Fix severe bug, improve logging, handle fan stops
Conversion from power percentage to PWM value didn't take into floating point arithmetic into account Make log messages more helpful, add handling for fan stopping completely
This commit is contained in:
@@ -18,7 +18,7 @@ void App::InitialSetup() {
|
||||
mPWMControlFacade.PWMControls());
|
||||
|
||||
std::for_each(std::execution::par, std::begin(fans), std::end(fans),
|
||||
[](auto &&fan) { fan->FindMinPWM(); });
|
||||
[](auto &&fan) { fan->FindPWMLimits(); });
|
||||
|
||||
mFanLabeler.RunFanLabelInteraction(fans);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user