Skip to content

Commit

Permalink
Don't continously call unfreeze_render_thread()
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Dec 15, 2023
1 parent 34c6a5e commit 7c786d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CYD-Klipper/src/core/data_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ void fetch_printer_data()
printer.state = printer_state;
lv_msg_send(DATA_PRINTER_STATE, &printer);
}

unfreeze_render_thread();
}
else
{
Expand All @@ -198,8 +200,6 @@ void fetch_printer_data()

if (frozen)
unfreeze_request_thread();

unfreeze_render_thread();
}

void data_loop()
Expand Down

0 comments on commit 7c786d1

Please sign in to comment.