Skip to content

Commit

Permalink
use mashine state to show weight or weightsetpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
LoQue90 committed Mar 14, 2024
1 parent c84419c commit 8ac0824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/display/displayTemplateScale.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ void printScreen() {
u8g2.print("fault");
}
else {
if (brewswitch == LOW) {
u8g2.print(weight, 0);
if (machineState == kBrew) {
u8g2.print(weightBrew, 0);
}
else {
u8g2.print(weightBrew, 0);
u8g2.print(weight, 0);
}

u8g2.print("/");
Expand Down

0 comments on commit 8ac0824

Please sign in to comment.