From 303ac3453943b98cf15399b3540c8a7b19d79457 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Fri, 10 Oct 2025 13:34:15 -0700 Subject: [PATCH] ord() not needed modified: scripts/bin2h.py --- src/stub/scripts/bin2h.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/scripts/bin2h.py b/src/stub/scripts/bin2h.py index 534b27ae..df9b568c 100644 --- a/src/stub/scripts/bin2h.py +++ b/src/stub/scripts/bin2h.py @@ -116,7 +116,7 @@ class DataWriter_gas(DataWriter): w(".byte ".encode()) else: w(",".encode()) - w(("%3d" % ord(data[i])).encode()) + w(("%3d" % data[i]).encode()) self.w_eol()