mirror of https://github.com/rusefi/openblt.git
Refs #931. Minor improvements to the S-record parser.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@725 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
fa59ddedfb
commit
06f47a3de0
|
@ -409,6 +409,10 @@ static bool SRecParserExtractLineData(char const * line, uint32_t * address,
|
|||
if ( (line != NULL) && (address != NULL) && (len != NULL) &&
|
||||
(data != NULL) ) /*lint !e774 */
|
||||
{
|
||||
/* Initialize parameter result values. */
|
||||
*len = 0;
|
||||
*address = 0;
|
||||
|
||||
/* Determine the line type. */
|
||||
lineType = SRecParserGetLineType(line);
|
||||
/* Only continue if the S-record line contains program data. */
|
||||
|
|
Loading…
Reference in New Issue