Skip to content

Commit

Permalink
Fix for scene switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Orlov committed Feb 27, 2024
1 parent 858d577 commit 0d0c006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenes/VoronScene.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class VoronScene : public AbstractScene {
~VoronScene() override { delete ri_voron; }

SwitchSceneRequest *NextScene() override {
if (deps.klipperApi->isPrinting())
if (deps.klipperApi->isHoming())
return new SwitchSceneRequest(deps, SceneId::Homing);
else if (deps.klipperApi->isLeveling())
return new SwitchSceneRequest(deps, SceneId::Leveling);
Expand Down

0 comments on commit 0d0c006

Please sign in to comment.