aboutsummaryrefslogtreecommitdiff
path: root/NodeOutput.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:56:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:56:19 +0200
commite689d7947050face22fa1533d9a1cba6d43ea6b8 (patch)
tree7209bf2a04a4254913de6b0ef26742c85479c2eb /NodeOutput.cpp
parentc0c6828e0652b177d36d15ded9801e419c07a64c (diff)
add prut
Diffstat (limited to 'NodeOutput.cpp')
-rw-r--r--NodeOutput.cpp6
1 files changed, 3 insertions, 3 deletions
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 <iostream>
+#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
+}