From ee6c5e911a10581447bfcae2f7e39da501b5a2bc Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Tue, 20 Aug 2024 22:50:13 +1000 Subject: [PATCH] Update output_hex.py --- Bootup Logos/output_hex.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Bootup Logos/output_hex.py b/Bootup Logos/output_hex.py index ebdac2e..627e205 100644 --- a/Bootup Logos/output_hex.py +++ b/Bootup Logos/output_hex.py @@ -65,13 +65,6 @@ class HexOutput: def write(generator): output.write("".join(generator)) - if len(data) % cls.INTELHEX_BYTES_PER_LINE != 0: - raise ValueError( - "Program error: Size of LCD data is not evenly divisible by {}".format( - cls.INTELHEX_BYTES_PER_LINE - ) - ) - address_lo = data_address & 0xFFFF address_hi = (data_address >> 16) & 0xFFFF