comparison Discovery/Src/tComm.c @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children b7689d9e888a
comparison
equal deleted inserted replaced
50:6310a27fd6d3 51:8f8ea3a32e82
1349 { 1349 {
1350 uint8_t sBuffer[10]; 1350 uint8_t sBuffer[10];
1351 uint8_t serialBuffer[10]; 1351 uint8_t serialBuffer[10];
1352 uint32_t length1, length2, lengthCompare, offsetCompare, ByteCompareStatus; 1352 uint32_t length1, length2, lengthCompare, offsetCompare, ByteCompareStatus;
1353 uint32_t lengthTotal, offsetTotal, pruefsumme, pruefsummeCalc; 1353 uint32_t lengthTotal, offsetTotal, pruefsumme, pruefsummeCalc;
1354 uint32_t checksum, checksumCalc; 1354 uint32_t checksum, checksumCalc = 0;
1355 uint8_t id; 1355 uint8_t id;
1356 const uint8_t id_Region1_firmware = 0xFF; 1356 const uint8_t id_Region1_firmware = 0xFF;
1357 const uint8_t id_RTE = 0xFE; 1357 const uint8_t id_RTE = 0xFE;
1358 uint8_t textpointer = 0; 1358 uint8_t textpointer = 0;
1359 1359