From c3d35c6ac7348e8dc9072bb67b2c62294764fe00 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 8 Mar 2014 16:40:08 +0000 Subject: stm: Put pyb module in ROM. --- stm/usart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm/usart.h') 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); -- cgit v1.2.3