Remove unused local variable i (#1265)

This commit is contained in:
rkeulemans
2020-03-23 17:43:37 +01:00
committed by GitHub
parent dacf663a95
commit c317a57feb
2 changed files with 2 additions and 2 deletions

2
cereal

Submodule cereal updated: b0c746b1e1...6511990644

View File

@@ -13,7 +13,7 @@ def calc_checksum(data):
checksum = 0xFF
for curr in data[:-1]:
shift = 0x80
for i in range(0, 8):
for _ in range(0, 8):
bit_sum = curr & shift
temp_chk = checksum & 0x80
if (bit_sum != 0):