mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
clean up some trailing whitespace
This commit is contained in:
parent
b06e8d2a81
commit
7fb7402fe0
1 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ def convert(ifile, ofile):
|
||||||
while line > 0:
|
while line > 0:
|
||||||
horiz = 0
|
horiz = 0
|
||||||
while horiz < 11:
|
while horiz < 11:
|
||||||
position = offset + (line-1) * 44 + horiz * 4
|
position = offset + (line-1) * 44 + horiz * 4
|
||||||
word = int.from_bytes(image[position:position + 4], byteorder='big')
|
word = int.from_bytes(image[position:position + 4], byteorder='big')
|
||||||
word = int('{:032b}'.format(word)[::-1],2)
|
word = int('{:032b}'.format(word)[::-1],2)
|
||||||
if horiz == 10:
|
if horiz == 10:
|
||||||
|
|
@ -45,7 +45,7 @@ def convert(ifile, ofile):
|
||||||
horiz = horiz + 1
|
horiz = horiz + 1
|
||||||
line = line - 1
|
line = line - 1
|
||||||
output.write("\n")
|
output.write("\n")
|
||||||
|
|
||||||
output.write("];");
|
output.write("];");
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -66,4 +66,4 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue