Skip to content

Commit

Permalink
some steam but more
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0-bit committed Aug 15, 2023
1 parent fc05a85 commit 14d7618
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/functional/just_do_coffee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ void steamCtrl(const GaggiaSettings& settings, const SensorState& currentState,
setSteamBoilerRelayOn();
#ifndef DREAM_STEAM_DISABLED // disabled for bigger boilers which have no need of adding water during steaming
if (currentState.smoothedPressure < activeSteamPressure_) {
setPumpToPercentage(0.03f);
float pumpPercent = 0.f;
mapRange(currentState.smoothedPressure, 0.8f, 2.f, 0.08f, 0.03f, 2);
pumpPercent = constrain(pumpPercent, 0.03f, 0.08f);
setPumpToPercentage(pumpPercent);
} else {
setPumpOff();
}
Expand Down

0 comments on commit 14d7618

Please sign in to comment.