mirror of https://github.com/ArduPilot/ardupilot
Tools: correct powr_change.py output for accumulated flags
This commit is contained in:
parent
3bc0207f22
commit
be769a6a7f
|
@ -70,8 +70,6 @@ class POWRChange(object):
|
||||||
|
|
||||||
if new_acc_bit_set and not old_acc_bit_set:
|
if new_acc_bit_set and not old_acc_bit_set:
|
||||||
line += " ACCFLAGS+%s" % self.bit_description(bit)
|
line += " ACCFLAGS+%s" % self.bit_description(bit)
|
||||||
elif not new_bit_set and old_bit_set:
|
|
||||||
line += " ACCFLAGS-%s" % self.bit_description(bit)
|
|
||||||
|
|
||||||
if len(line) == 0:
|
if len(line) == 0:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue