mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-18 17:53:10 +00:00
XXX dcpav: port to 13.5
This needs to be dynamic. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
6d0979e71e
commit
3e22464c86
1 changed files with 3 additions and 3 deletions
|
@ -55,10 +55,10 @@ class DCPDPTXRemotePortService(EPICStandardService):
|
|||
SHORT = "port"
|
||||
|
||||
def displayRequest(self):
|
||||
self.call(8, 8, bytes(16))
|
||||
self.call(0, 6, bytes(16))
|
||||
|
||||
def displayRelease(self):
|
||||
self.call(8, 9, bytes(16))
|
||||
self.call(0, 7, bytes(16))
|
||||
|
||||
def connectTo(self, connected, unit, port, unk=0):
|
||||
target = 0
|
||||
|
@ -66,7 +66,7 @@ class DCPDPTXRemotePortService(EPICStandardService):
|
|||
target |= (1 << 8)
|
||||
target |= unit
|
||||
target |= port << 4
|
||||
self.call(8, 13, struct.pack("<16xII8x", unk, target))
|
||||
self.call(0, 11, struct.pack("<II8x16x", unk, target))
|
||||
|
||||
class DCPDPTXPortEndpoint(EPICEndpoint):
|
||||
SHORT = "dpport"
|
||||
|
|
Loading…
Reference in a new issue