BIOSUtilities v24.10.18

Removed all Python built-in library keyword arguments (#55)
This commit is contained in:
Plato Mavropoulos 2024-10-18 13:37:52 +03:00
parent 010b5a47d4
commit 35455f735c
27 changed files with 228 additions and 229 deletions

View file

@ -12,7 +12,7 @@ def checksum_16(data: bytes | bytearray, value: int = 0, order: str = 'little')
for idx in range(0, len(data), 2):
# noinspection PyTypeChecker
value += int.from_bytes(bytes=data[idx:idx + 2], byteorder=order) # type: ignore
value += int.from_bytes(data[idx:idx + 2], byteorder=order) # type: ignore
value &= 0xFFFF