# | Line 450 | Line 450 | void ChecksumSlotROM(void) | |
---|---|---|
450 | p[slot_rom_size - 10] = 0; | |
451 | p[slot_rom_size - 9] = 0; | |
452 | uint32 crc = 0; | |
453 | < | for (uint32 i=0; i<slot_rom_size; i++) { |
453 | > | for (int i=0; i<slot_rom_size; i++) { |
454 | crc = (crc << 1) | (crc >> 31); | |
455 | crc += p[i]; | |
456 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |