diff options
Diffstat (limited to 'NodeOutput.cpp')
-rw-r--r-- | NodeOutput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NodeOutput.cpp b/NodeOutput.cpp index 5138805..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,7 +11,7 @@ void NodeOutput::sim() { if (this->inputs.size() == 0) throw CircuitException("No inputs on probe"); - std::cout << "Probe signal level: " << this->inputs[0]->getLevel() << std::endl; + prutprintf("level: %u", this->inputs[0]->getLevel()); } NodeOutput::NodeOutput(const NodeOutput * prototype) : Node() { } |