lto missing inits
This commit is contained in:
1 parent
602daa7fdd
commit
2b3d339714
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -156,7 +156,7 @@ static void SendCommandNG_internal(uint16_t cmd, uint8_t *data, size_t len, bool
|
||||
memcpy(&txBufferNG.data, data, len);
|
||||
|
||||
if ((g_conn.send_via_fpc_usart && g_conn.send_with_crc_on_fpc) || ((!g_conn.send_via_fpc_usart) && g_conn.send_with_crc_on_usb)) {
|
||||
uint8_t first, second;
|
||||
uint8_t first = 0, second = 0;
|
||||
compute_crc(CRC_14443_A, (uint8_t *)&txBufferNG, sizeof(PacketCommandNGPreamble) + len, &first, &second);
|
||||
tx_post->crc = (first << 8) + second;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user