summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybuart.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/pybuart.h')
-rw-r--r--cc3200/mods/pybuart.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc3200/mods/pybuart.h b/cc3200/mods/pybuart.h
index 44660aabe4..73eab476e2 100644
--- a/cc3200/mods/pybuart.h
+++ b/cc3200/mods/pybuart.h
@@ -29,7 +29,6 @@
#define PYBUART_H_
typedef enum {
- PYB_UART_NONE = -1,
PYB_UART_0 = 0,
PYB_UART_1 = 1,
PYB_NUM_UARTS
@@ -39,7 +38,7 @@ typedef struct _pyb_uart_obj_t pyb_uart_obj_t;
extern const mp_obj_type_t pyb_uart_type;
void uart_init0(void);
-void uart_deinit (void);
+mp_obj_t pyb_uart_deinit(mp_obj_t self_in);
bool uart_rx_any(pyb_uart_obj_t *uart_obj);
int uart_rx_char(pyb_uart_obj_t *uart_obj);
bool uart_tx_char(pyb_uart_obj_t *self, int c);