mirror of
https://github.com/naruxde/revpipyload.git
synced 2025-11-08 15:13:52 +01:00
Support wordorder for revpi-commander
This commit is contained in:
@@ -13,6 +13,8 @@ import proginit
|
||||
import revpimodio2
|
||||
from xmlrpc.client import Binary
|
||||
|
||||
from revpimodio2.io import StructIO
|
||||
|
||||
|
||||
class ProcimgServer:
|
||||
|
||||
@@ -89,6 +91,7 @@ class ProcimgServer:
|
||||
io._bitaddress,
|
||||
io._byteorder,
|
||||
io._signed,
|
||||
io.wordorder if issubclass(io, StructIO) else "ignored"
|
||||
])
|
||||
return Binary(pickle.dumps(dict_ios))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user