From: Robin Krens Date: Wed, 14 Feb 2024 16:14:03 +0000 (+0100) Subject: RAPacker.py: minor cleanup X-Git-Tag: v0.0.1~17 X-Git-Url: https://robinkrens.nl/gitweb/?a=commitdiff_plain;h=9d08f64bdd625d6c5ae93de4d93c2864eb1a6ad0;p=renesas-ra-flasher RAPacker.py: minor cleanup --- diff --git a/src/RAPacker.py b/src/RAPacker.py index 52fa9fd..7cc8d46 100644 --- a/src/RAPacker.py +++ b/src/RAPacker.py @@ -27,9 +27,6 @@ BAU_CMD = 0x34 SIG_CMD = 0x3A ARE_CMD = 0x3B -# These are combined with send command, for example -# STATUS_OK | ERA_CMD == 0x12 -# STATUS_ERR | ERA_CMD = 0x92 STATUS_OK = 0x00 STATUS_ERR = 0x80 @@ -137,9 +134,3 @@ def unpack_pkt(data): if (ETX != 0x03): raise Exception(f'Packet ETX error') return message - - -#cmd = pack_command(INQ_CMD, "") -#cmd = pack_command(BAU_CMD, ['0x00','0x1E']) -#cmd = pack_command(IDA_CMD, TESTID) -