mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 22:03:53 +01:00
Return all IOs of base devices in the .io object as int() not bytes() when using .value
close #7
This commit is contained in:
@@ -310,8 +310,8 @@ class Device(object):
|
|||||||
"little",
|
"little",
|
||||||
False
|
False
|
||||||
)
|
)
|
||||||
elif bool(dict_io[key][7]) or isinstance(self, Base):
|
elif bool(dict_io[key][7]):
|
||||||
# Bei Bitwerten oder Base IOBase verwenden
|
# Bei Bitwerten IOBase verwenden
|
||||||
io_new = IOBase(
|
io_new = IOBase(
|
||||||
self, dict_io[key], iotype, "little", False
|
self, dict_io[key], iotype, "little", False
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user