diff options
Diffstat (limited to 'src/printerclient.cpp')
| -rw-r--r-- | src/printerclient.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/printerclient.cpp b/src/printerclient.cpp index c19e2a8..946df72 100644 --- a/src/printerclient.cpp +++ b/src/printerclient.cpp @@ -114,6 +114,11 @@ double Esp32Stand::posMm() return m_posSteps / double(m_stepsPerMm); } +uint32_t Esp32Stand::stepsPerMm() const +{ + return m_stepsPerMm; +} + bool Esp32Stand::moveMm(const double mm) { return moveSteps(mm * m_stepsPerMm); @@ -121,7 +126,7 @@ bool Esp32Stand::moveMm(const double mm) bool Esp32Stand::moveSteps(const int steps) { - qDebug() << __func__ << "move" << steps << "steps"; + // qDebug() << __func__ << "move" << steps << "steps"; // QElapsedTimer t; // t.start(); @@ -142,7 +147,7 @@ bool Esp32Stand::moveSteps(const int steps) // qDebug() << "here"; connect(reply, &QNetworkReply::finished, this, [reply, &mtx]() { - qDebug() << reply->readAll(); + // qDebug() << reply->readAll(); mtx.unlock(); }); // qDebug() << "here2"; |
