From: Pali Rohár Date: Tue, 3 Aug 2021 14:28:40 +0000 (+0200) Subject: xyz-modem: Put xyzModem_stream_close debug diagnostic message into ZM_DEBUG() X-Git-Tag: v2022.01~102^2~25^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f05d69bd0a264d622efef9649187946cfbccb930;p=platform%2Fkernel%2Fu-boot.git xyz-modem: Put xyzModem_stream_close debug diagnostic message into ZM_DEBUG() This is how all other debug / diagnostic messages are handled. Signed-off-by: Pali Rohár --- diff --git a/common/xyzModem.c b/common/xyzModem.c index 631c44e..c200c9f 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -608,10 +608,10 @@ xyzModem_stream_read (char *buf, int size, int *err) void xyzModem_stream_close (int *err) { - diag_printf + ZM_DEBUG (zm_dprintf ("xyzModem - %s mode, %d(SOH)/%d(STX)/%d(CAN) packets, %d retries\n", xyz.crc_mode ? "CRC" : "Cksum", xyz.total_SOH, xyz.total_STX, - xyz.total_CAN, xyz.total_retries); + xyz.total_CAN, xyz.total_retries)); ZM_DEBUG (zm_flush ()); }