diff options
Diffstat (limited to 'stmhal/usart.h')
| -rw-r--r-- | stmhal/usart.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/usart.h b/stmhal/usart.h index 2b1b60bfd..acb6762d7 100644 --- a/stmhal/usart.h +++ b/stmhal/usart.h @@ -18,7 +18,8 @@ void usart_init(pyb_usart_t usart_id, uint32_t baudrate); bool usart_rx_any(pyb_usart_t usart_id); int usart_rx_char(pyb_usart_t usart_id); void usart_tx_str(pyb_usart_t usart_id, const char *str); -void usart_tx_strn_cooked(pyb_usart_t usart_id, const char *str, int len); +void usart_tx_strn(pyb_usart_t usart_id, const char *str, uint len); +void usart_tx_strn_cooked(pyb_usart_t usart_id, const char *str, uint len); #if 0 MP_DECLARE_CONST_FUN_OBJ(pyb_Usart_obj); |
