mirror of https://github.com/rusefi/openblt.git
Refs #407. Removed redundant carriage return when writing S-records in LibOpenBLT.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@371 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
649a377623
commit
ebe0434715
Binary file not shown.
|
@ -293,7 +293,7 @@ static bool SRecParserSaveToFile (char const * firmwareFile)
|
||||||
if (result)
|
if (result)
|
||||||
{
|
{
|
||||||
/* Add the S0-record. */
|
/* Add the S0-record. */
|
||||||
if (fprintf(fp, "%s\r\n", line) < 0)
|
if (fprintf(fp, "%s\n", line) < 0)
|
||||||
{
|
{
|
||||||
/* Could not write line to the file. */
|
/* Could not write line to the file. */
|
||||||
result = false;
|
result = false;
|
||||||
|
@ -339,7 +339,7 @@ static bool SRecParserSaveToFile (char const * firmwareFile)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Add the data record. */
|
/* Add the data record. */
|
||||||
if (fprintf(fp, "%s\r\n", line) < 0)
|
if (fprintf(fp, "%s\n", line) < 0)
|
||||||
{
|
{
|
||||||
/* Could not write line to the file. Abort loop. */
|
/* Could not write line to the file. Abort loop. */
|
||||||
result = false;
|
result = false;
|
||||||
|
@ -362,7 +362,7 @@ static bool SRecParserSaveToFile (char const * firmwareFile)
|
||||||
if (result)
|
if (result)
|
||||||
{
|
{
|
||||||
/* Add the termination record. */
|
/* Add the termination record. */
|
||||||
if (fprintf(fp, "%s\r\n", line) < 0)
|
if (fprintf(fp, "%s\n", line) < 0)
|
||||||
{
|
{
|
||||||
/* Could not write line to the file. */
|
/* Could not write line to the file. */
|
||||||
result = false;
|
result = false;
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue