File tree 2 files changed +0
-17
lines changed
libraries/SrcWrapper/src/stm32
2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ void uart_deinit(serial_t *obj);
228
228
#if defined(HAL_PWR_MODULE_ENABLED ) && (defined(UART_IT_WUF ) || defined(LPUART1_BASE ))
229
229
void uart_config_lowpower (serial_t * obj );
230
230
#endif
231
- size_t uart_write (serial_t * obj , uint8_t data , uint16_t size );
232
231
int uart_getc (serial_t * obj , unsigned char * c );
233
232
void uart_attach_rx_callback (serial_t * obj , void (* callback )(serial_t * ));
234
233
void uart_attach_tx_callback (serial_t * obj , int (* callback )(serial_t * ), size_t size );
Original file line number Diff line number Diff line change @@ -660,22 +660,6 @@ void uart_config_lowpower(serial_t *obj)
660
660
}
661
661
#endif
662
662
663
- /**
664
- * @brief write the data on the uart
665
- * @param obj : pointer to serial_t structure
666
- * @param data : byte to write
667
- * @param size : number of data to write
668
- * @retval The number of bytes written
669
- */
670
- size_t uart_write (serial_t * obj , uint8_t data , uint16_t size )
671
- {
672
- if (HAL_UART_Transmit (uart_handlers [obj -> index ], & data , size , TX_TIMEOUT ) == HAL_OK ) {
673
- return size ;
674
- } else {
675
- return 0 ;
676
- }
677
- }
678
-
679
663
/**
680
664
* @brief Function called to initialize the debug uart interface
681
665
* @note Call only if debug U(S)ART peripheral is not already initialized
You can’t perform that action at this time.
0 commit comments