Skip to content

Commit

Permalink
Fix BLTouch tuning, first page was not displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
andrivet committed Mar 19, 2023
1 parent 6bde35e commit fe2c086
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/advi3pp/screens/tuning/bltouch_testing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
*
*/

#include "../../parameters.h"

#ifdef BLTOUCH

#include "../../parameters.h"
#include "../../core/core.h"
#include "../../core/dgus.h"
#include "../../core/status.h"
Expand Down Expand Up @@ -66,7 +67,7 @@ bool BLTouchTesting::on_dispatch(KeyValue key_value) {
bool BLTouchTesting::on_enter() {
pages.save_forward_page();
step_1a();
return false;
return true;
}

void BLTouchTesting::on_back_command() {
Expand All @@ -85,7 +86,6 @@ void BLTouchTesting::on_save_command() {

//! Test if the BLTouch is powered
void BLTouchTesting::step_1a() {
wait.wait(F("Initialize the BLTouch..."));
tested_ = ok_ = Wires::None;
set_bits(tested_, Wires::Brown | Wires::Red);
bltouch._reset();
Expand Down

0 comments on commit fe2c086

Please sign in to comment.