Skip to content

Commit 053fbf0

Browse files
committed
remote/exporter: Export invert parameter on relays
The invert parameter is currently not being exported on Network HID and Deditec relays. Since the client is the one responsible for inverting the signal, and it does not recieve this information from the exporter (which causes it to default to False), the invert is only working on local setups and not on network exported devices. Signed-off-by: Diogo Silva <diogo.silva.pt14@gmail.com>
1 parent d4dafb9 commit 053fbf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labgrid/remote/exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ def _get_params(self):
503503
"vendor_id": self.local.vendor_id,
504504
"model_id": self.local.model_id,
505505
"index": self.local.index,
506+
"invert": self.local.invert,
506507
}
507508

508509

@@ -523,6 +524,7 @@ def _get_params(self):
523524
"vendor_id": self.local.vendor_id,
524525
"model_id": self.local.model_id,
525526
"index": self.local.index,
527+
"invert": self.local.invert,
526528
}
527529

528530

0 commit comments

Comments
 (0)