mirror of https://github.com/acidanthera/audk.git
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:
parent
82808b4226
commit
58ae92a993
|
@ -134,7 +134,7 @@ SerialStatusCodeReportWorker (
|
|||
CharCount = AsciiSPrint (
|
||||
Buffer,
|
||||
sizeof (Buffer),
|
||||
"%a\n\r",
|
||||
"%a",
|
||||
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -129,7 +129,7 @@ SerialStatusCodeReportWorker (
|
|||
CharCount = AsciiSPrint (
|
||||
Buffer,
|
||||
sizeof (Buffer),
|
||||
"%a\n\r",
|
||||
"%a",
|
||||
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -129,7 +129,7 @@ SerialStatusCodeReportWorker (
|
|||
CharCount = AsciiSPrint (
|
||||
Buffer,
|
||||
sizeof (Buffer),
|
||||
"%a\n\r",
|
||||
"%a",
|
||||
((EFI_STATUS_CODE_STRING_DATA *) Data)->String.Ascii
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue