diff options
| author | Damien George | 2014-03-08 16:40:08 +0000 |
|---|---|---|
| committer | Damien George | 2014-03-08 16:40:08 +0000 |
| commit | c3d35c6ac7348e8dc9072bb67b2c62294764fe00 (patch) | |
| tree | f7eed83b56bb6814bd78b3c1b8fddb7df3b74ad2 /stm/usart.h | |
| parent | 01d50d0d586a0e2630613120336faf75277d22d6 (diff) | |
stm: Put pyb module in ROM.
Diffstat (limited to 'stm/usart.h')
| -rw-r--r-- | stm/usart.h | 2 |
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); |
