summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")