Skip to content

Commit

Permalink
steam assist fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0-bit committed Aug 16, 2023
1 parent cf21c4a commit 7ad76f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/functional/just_do_coffee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ 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_) {
float pumpPercent = 0.f;
mapRange(currentState.smoothedPressure, 0.8f, 2.f, 0.08f, 0.03f, 2);
float pumpPercent = mapRange(currentState.smoothedPressure, 0.8f, 2.f, 0.08f, 0.03f, 2);
pumpPercent = constrain(pumpPercent, 0.03f, 0.08f);
setPumpToPercentage(pumpPercent);
} else {
Expand Down

0 comments on commit 7ad76f9

Please sign in to comment.