diff options
author | Daniel Campora <daniel@wipy.io> | 2015-09-07 21:19:11 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-09-10 08:00:12 +0200 |
commit | 4d7fa05b43cb3db88a6ecacf8406d2636f202aba (patch) | |
tree | e9333fd94b157e2274cad16c53d2900216099a43 /cc3200/mptask.c | |
parent | 4054c4eadd13fa3aaacb96202cdfb1a666484b5c (diff) | |
download | micropython-4d7fa05b43cb3db88a6ecacf8406d2636f202aba.tar.gz micropython-4d7fa05b43cb3db88a6ecacf8406d2636f202aba.zip |
cc3200: Improve Pin and UART implementation.
Deassign pins af before assigning. Make uart.any() return the
correct value everytime, this requires interrupts to be always
enabled.
Diffstat (limited to 'cc3200/mptask.c')
-rw-r--r-- | cc3200/mptask.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cc3200/mptask.c b/cc3200/mptask.c index 87990b43c2..dd3a762244 100644 --- a/cc3200/mptask.c +++ b/cc3200/mptask.c @@ -145,7 +145,6 @@ soft_reset: mp_obj_new_int(MICROPY_STDIO_UART_BAUD), }; pyb_stdio_uart = pyb_uart_type.make_new((mp_obj_t)&pyb_uart_type, MP_ARRAY_SIZE(args), 0, args); - uart_callback_new (pyb_stdio_uart, mp_const_none, INT_PRIORITY_LVL_3, E_UART_TRIGGER_RX_ANY); #else pyb_stdio_uart = MP_OBJ_NULL; #endif |