summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-09-08 10:07:01 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-09-08 10:07:01 +0200
commit2ab1f99aa40c6a55766eb1af12ec147cab82ac87 (patch)
tree0d384eb5ab6c82e7a55ae00cbfa244514449f781
parent16358d5728e9d560d4395c2de2616bc6180e9700 (diff)
Debug node
-rw-r--r--esds/node.py2
-rw-r--r--esds/plugins/power_states.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/esds/node.py b/esds/node.py
index 238c08d..4f16f46 100644
--- a/esds/node.py
+++ b/esds/node.py
@@ -34,7 +34,7 @@ class Node:
if reason == "send_return":
p.on_send_return(args[0],args[1],args[2],args[3],args[4])
if reason == "on_communication_end":
- p.on_communication_end(args[0],time,args[1])
+ p.on_communication_end(time,args)
if reason == "terminated":
p.on_terminated()
diff --git a/esds/plugins/power_states.py b/esds/plugins/power_states.py
index f430217..b5349fd 100644
--- a/esds/plugins/power_states.py
+++ b/esds/plugins/power_states.py
@@ -123,7 +123,7 @@ class PowerStatesComms(NodePlugin):
self.tx_clock=self.api.read("clock")
def on_communication_end(self,time,com_event):
- pass
+ print(com_event)
def on_send_return(self,interface,data,datasize,dst,code):
clock=self.api.read("clock")