From f98f29baa2f326beb804c27520f186e8598b9eb7 Mon Sep 17 00:00:00 2001
From: Giacomo Strangolino <giacomo.strangolino@elettra.eu>
Date: Thu, 5 May 2022 11:52:47 +0200
Subject: [PATCH] print

---
 src/bpmplot.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bpmplot.cpp b/src/bpmplot.cpp
index eb8c618..f9a0061 100644
--- a/src/bpmplot.cpp
+++ b/src/bpmplot.cpp
@@ -63,7 +63,7 @@ void BpmPlot::setHistorySiz(int n) {
 void BpmPlot::onUpdate(const CuData &da) {
     bool e = da.B("err");
     CuVariant v = da["q"];
-//    pretty_pri("%s: q: %s msg '%s': %s", e ? "error" : "OK", da.s("qs").c_str(), da.s("msg").c_str(),  da.toString().c_str());
+    printf("%s: q: %s msg '%s': %s\n", e ? "error" : "OK", da.s("qs").c_str(), da.s("msg").c_str(),  da.toString().c_str());
 
     m_container->setToolTip(da.s("msg").c_str());
     m_container->setEnabled(!e);
-- 
GitLab