mirror of
https://github.com/Ralim/IronOS-Meta.git
synced 2025-04-15 11:27:48 +00:00
Update output_hex.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user