Fix logging issue causing mangled new lines (#391)

* Fix logging issue caused by using \n as the default newline character

* Update the other demos

* Fix accidentally changed NETWORK_INTERFACE

* Set \r\n as default instead

* Update sources to reflect \r\n change

* Get rid of configLOGGING_NEW_LINE altogether

Co-authored-by: abhidixi11 <44424462+abhidixi11@users.noreply.github.com>
This commit is contained in:
Oscar Michael Abrina 2020-11-08 21:27:53 -08:00 committed by GitHub
parent 54d549cd0e
commit 52d7c47cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 238 additions and 278 deletions

View file

@ -286,7 +286,7 @@ void vLoggingPrintf( const char * pcFormat,
pcTaskName = pcNoTask;
}
if( strcmp( pcFormat, "\n" ) != 0 )
if( strcmp( pcFormat, "\r\n" ) != 0 )
{
xLength = snprintf( cPrintString, dlMAX_PRINT_STRING_LENGTH, "%lu %lu [%s] ",
xMessageNumber++,