bios/boot: Cosmetic cleanup.
This commit is contained in:
parent
0c028d1614
commit
7b259888bb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue