|
@@ -721,10 +721,12 @@ void UartWrite(UART_HandleTypeDef *uartHandle, uint8_t *buf , uint8_t len)
|
|
|
// ÖØ¶¨Ïòº¯Êý1
|
|
|
int fputc(int ch,FILE *f)
|
|
|
{
|
|
|
- uint8_t temp[1]={ch};
|
|
|
+#if 0
|
|
|
+ //uint8_t temp[1]={ch};
|
|
|
//KeySlave485_TX_Set(1);
|
|
|
- HAL_UART_Transmit(&huart4,temp,1,2); //
|
|
|
+ //HAL_UART_Transmit(&huart4,temp,1,2); //
|
|
|
//KeySlave485_TX_Set(0);
|
|
|
+#endif
|
|
|
return 0;
|
|
|
}
|
|
|
/* USER CODE END 1 */
|