diff options
Diffstat (limited to 'scripts/update_mks_robin.py')
-rwxr-xr-x | scripts/update_mks_robin.py | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/scripts/update_mks_robin.py b/scripts/update_mks_robin.py index fab9faa1..e4127648 100755 --- a/scripts/update_mks_robin.py +++ b/scripts/update_mks_robin.py @@ -7,12 +7,41 @@ import optparse XOR_PATTERN = [ - 0xA3, 0xBD, 0xAD, 0x0D, 0x41, 0x11, 0xBB, 0x8D, 0xDC, 0x80, - 0x2D, 0xD0, 0xD2, 0xC4, 0x9B, 0x1E, 0x26, 0xEB, 0xE3, 0x33, - 0x4A, 0x15, 0xE4, 0x0A, 0xB3, 0xB1, 0x3C, 0x93, 0xBB, 0xAF, - 0xF7, 0x3E + 0xA3, + 0xBD, + 0xAD, + 0x0D, + 0x41, + 0x11, + 0xBB, + 0x8D, + 0xDC, + 0x80, + 0x2D, + 0xD0, + 0xD2, + 0xC4, + 0x9B, + 0x1E, + 0x26, + 0xEB, + 0xE3, + 0x33, + 0x4A, + 0x15, + 0xE4, + 0x0A, + 0xB3, + 0xB1, + 0x3C, + 0x93, + 0xBB, + 0xAF, + 0xF7, + 0x3E, ] + def main(): # Parse command-line arguments usage = "%prog <input_file> <output_file>" @@ -34,5 +63,6 @@ def main(): f.write(firmware) f.close() -if __name__ == '__main__': + +if __name__ == "__main__": main() |