diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-08 10:07:01 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-08 10:07:01 +0200 |
| commit | 2ab1f99aa40c6a55766eb1af12ec147cab82ac87 (patch) | |
| tree | 0d384eb5ab6c82e7a55ae00cbfa244514449f781 | |
| parent | 16358d5728e9d560d4395c2de2616bc6180e9700 (diff) | |
Debug node
| -rw-r--r-- | esds/node.py | 2 | ||||
| -rw-r--r-- | esds/plugins/power_states.py | 2 |
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") |
