Skip to content

Commit

Permalink
Fix time update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TFyre committed Mar 5, 2024
1 parent 27add83 commit e9091ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ private void processMessage(final BambuPrinter.Message message) {
}

private void updatePrinterStatus() {
gcodeState = printer.getGCodeState();
final String value = "Status: %s".formatted(gcodeState.getDescription());
if (value.equals(printerStatus.getText())) {
return;
Expand All @@ -331,6 +330,7 @@ public void update() {
if (!built) {
return;
}
gcodeState = printer.getGCodeState();
if (processFull) {
printer.getFullStatus().ifPresent(message -> {
processFull = false;
Expand Down

0 comments on commit e9091ef

Please sign in to comment.