Essential type of the left hand operand usart[0U].tx_count
(unsigned) is not the same as that of the right operand "0" (signed).
if(usart[RS485_PORT].tx_count == 0) // error in this line
Essential type of the left hand operand usart[0U].tx_count
(unsigned) is not the same as that of the right operand "0" (signed).
if(usart[RS485_PORT].tx_count == 0) // error in this line