From e689d7947050face22fa1533d9a1cba6d43ea6b8 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 12 Jun 2024 16:56:19 +0200 Subject: add prut --- NodeOutput.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'NodeOutput.cpp') diff --git a/NodeOutput.cpp b/NodeOutput.cpp index 00ca006..a02ba1f 100644 --- a/NodeOutput.cpp +++ b/NodeOutput.cpp @@ -1,7 +1,7 @@ #include "NodeOutput.h" #include "Exception.h" -#include +#include "prut.h" NodeOutput NodeOutput::instance(NodeOutput::type); @@ -11,11 +11,11 @@ void NodeOutput::sim() { if (this->inputs.size() == 0) throw CircuitException("No inputs on probe"); - std::cout << this->inputs[0]->getLevel() << "foo" << std::endl; + prutprintf("level: %u", this->inputs[0]->getLevel()); } NodeOutput::NodeOutput(const NodeOutput * prototype) : Node() { } NodeOutput * NodeOutput::clone() const { return new NodeOutput(this); -} \ No newline at end of file +} -- cgit v1.2.3