Erste Anpassungen für RevPiConnect

This commit is contained in:
2018-07-27 11:30:33 +02:00
parent 03c7b7d7ea
commit 4b8fd5a2b6
5 changed files with 8 additions and 6 deletions

View File

@@ -236,7 +236,7 @@ class Device(object):
for key in sorted(dict_io, key=lambda x: int(x)):
# Neuen IO anlegen
if bool(dict_io[key][7]) or self._producttype == 95:
if bool(dict_io[key][7]) or isinstance(self, Core):
# Bei Bitwerten oder Core RevPiIOBase verwenden
io_new = IOBase(
self, dict_io[key], iotype, "little", False