bios/boot: Cosmetic cleanup.

This commit is contained in:
Florent Kermarrec 2021-11-09 14:03:30 +01:00
parent 0c028d1614
commit 7b259888bb
1 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ int serialboot(void)
/* Check Frame CRC */ /* Check Frame CRC */
received_crc = ((int)frame.crc[0] << 8)|(int)frame.crc[1]; received_crc = ((int)frame.crc[0] << 8)|(int)frame.crc[1];
computed_crc = crc16(&frame.cmd, frame.payload_length+1); computed_crc = crc16(&frame.cmd, frame.payload_length + 1);
if(computed_crc != received_crc) { if(computed_crc != received_crc) {
/* Acknowledge the CRC error */ /* Acknowledge the CRC error */
uart_write(SFL_ACK_CRCERROR); uart_write(SFL_ACK_CRCERROR);