aboutsummaryrefslogtreecommitdiff
path: root/stm/usart.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/usart.h')
-rw-r--r--stm/usart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/usart.h b/stm/usart.h
index 6ae2a44ae..c641281a7 100644
--- a/stm/usart.h
+++ b/stm/usart.h
@@ -20,4 +20,4 @@ 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);
-mp_obj_t pyb_Usart(mp_obj_t usart_id, mp_obj_t baudrate);
+MP_DECLARE_CONST_FUN_OBJ(pyb_Usart_obj);