fix warning under linux (#709)

This commit is contained in:
Oleg Moiseenko 2018-10-31 20:47:37 +02:00 committed by pwpiwi
parent 4b5d696c17
commit 6eeb5f1c29

View file

@ -862,7 +862,7 @@ static int GetIso15693CommandFromReader(uint8_t *received, size_t max_len, uint3
uint8_t dmaBuf[ISO15693_DMA_BUFFER_SIZE];
// the decoder data structure
DecodeReader_t DecodeReader;
DecodeReader_t DecodeReader = {0};
DecodeReaderInit(received, max_len, &DecodeReader);
// wait for last transfer to complete