Skip to content

Commit

Permalink
more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidFenrir committed Jul 7, 2017
1 parent 5a54d3d commit 270bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Result setWifiSlot(int selected_slot, wifiBlock * slotData)
void fixSlotCRC(wifiBlock * slotData)
{
printf("Previous CRC-16 checksum: %.4X\n", slotData->checksum);
slotData->checksum = crc_16((u8*)(&(slotData->network)), 0x410);
slotData->checksum = crc_16((u8*)(slotData)+4, 0x410);
printf("New CRC-16 checksum: %.4X\n", slotData->checksum);
}

0 comments on commit 270bbbb

Please sign in to comment.