From 45de8a02dbf918605526a3886784bae741a3a545 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 26 Jan 2025 19:15:00 +0100 Subject: add gain control, laser level (strobe span) control --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 9a11473..bd45479 100644 --- a/main.cpp +++ b/main.cpp @@ -92,7 +92,7 @@ int main( } if (reply->url().toString().endsWith("pixels")) { - qDebug() << "got pixels"; + // qDebug() << "got pixels"; auto json = QJsonDocument::fromJson(reply->readAll()).object(); auto jsonPixels = json["pixels"].toArray(); auto encoderPosition = json["encoderPosition"].toInteger(); @@ -195,7 +195,7 @@ int main( prev_y_profile = y_pixels; } else if (reply->url().toString().endsWith("profile")) { - qDebug() << "got profile"; + // qDebug() << "got profile"; auto json = QJsonDocument::fromJson(reply->readAll()).object(); auto jsonProfile = json["profile"].toObject(); auto jsonPointsMm = jsonProfile["pointsMm"].toArray(); -- cgit v1.2.3-70-g09d2