[Ymodem]Change macro definition and code format.