analyze_incbins - reject zero interval incbins

hg-commit-id: 3e2f4c7591f4
This commit is contained in:
Bryan Bishop 2012-01-17 16:40:47 -06:00
parent b48dfcd123
commit c2999b8645

View file

@ -79,7 +79,9 @@ def process_incbins():
"end": end,
}
processed_incbins[line_number] = processed_incbin
#don't add this incbin if the interval is 0
if interval != 0:
processed_incbins[line_number] = processed_incbin
def find_incbin_to_replace_for(address):
"""returns a line number for which incbin to edit