Skip to content

Commit

Permalink
merge devel branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroecker committed Feb 9, 2019
1 parent 9f6d9d2 commit 134d354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/canmatrix/arxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ def getSignals(signalarray, Bo, xmlRoot, ns, multiplexId, float_factory):
newSig._initValue = int(initvalue.text)
newSig.addAttribute("GenSigStartValue", str(newSig._initValue))
else:
newSig.initValue = 0
newSig._initValue = 0

for key, value in list(values.items()):
newSig.addValues(key, value)
Expand Down Expand Up @@ -1276,7 +1276,7 @@ def getFrame(frameTriggering, xmlRoot, multiplexTranslation, ns, float_factory):
multiplexor = Signal("Multiplexor",startBit=selectorStart.text,size=int(selectorLen.text),
is_little_endian=is_little_endian,multiplex="Multiplexor")

multiplexor.initValue = 0
multiplexor._initValue = 0
newFrame.addSignal(multiplexor)
staticPart = arGetChild(pdu, "STATIC-PART", xmlRoot, ns)
ipdu = arGetChild(staticPart, "I-PDU", xmlRoot, ns)
Expand Down
2 changes: 1 addition & 1 deletion src/canmatrix/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def compareSignal(s1, s2, ignore=None):


def dumpResult(res, depth=0):
if res.type is not None and res.result != "equal":
if res._type is not None and res._result != "equal":
for _ in range(0, depth):
print(" ", end=' ')
print(res._type + " " + res._result + " ", end=' ')
Expand Down

0 comments on commit 134d354

Please sign in to comment.