MdeModulePkg/StatusCodeHandler: do not output \n\r for string data

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2787

When output string data through serial port, will not ouput \n\r now.
Caller can output several data in one line, and output \n\r when needed.

Signed-off-by: Ming Tan <ming.tan@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
Tan, Ming 2020-06-15 10:03:44 +08:00 committed by mergify[bot]
parent 82808b4226
commit 58ae92a993
3 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ SerialStatusCodeReportWorker (
CharCount = AsciiSPrint (
Buffer,
sizeof (Buffer),
"%a\n\r",
"%a",
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
);
} else {

View File

@ -129,7 +129,7 @@ SerialStatusCodeReportWorker (
CharCount = AsciiSPrint (
Buffer,
sizeof (Buffer),
"%a\n\r",
"%a",
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
);
} else {

View File

@ -129,7 +129,7 @@ SerialStatusCodeReportWorker (
CharCount = AsciiSPrint (
Buffer,
sizeof (Buffer),
"%a\n\r",
"%a",
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
);
} else {