From 1027b5f0835d8fba9ccc290f0333c86f7299620a Mon Sep 17 00:00:00 2001 From: robert-hh Date: Sat, 9 Mar 2024 18:24:20 +0100 Subject: [PATCH] cc3200/mods/pybuart: Add the UART.IRQ_RX class constant. As alternative to RX_ANY to match the names used by the other ports. Signed-off-by: robert-hh --- ports/cc3200/mods/pybuart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/cc3200/mods/pybuart.c b/ports/cc3200/mods/pybuart.c index 6ab2371ba..eb2b3754f 100644 --- a/ports/cc3200/mods/pybuart.c +++ b/ports/cc3200/mods/pybuart.c @@ -590,6 +590,7 @@ static const mp_rom_map_elem_t pyb_uart_locals_dict_table[] = { // class constants { MP_ROM_QSTR(MP_QSTR_RX_ANY), MP_ROM_INT(UART_TRIGGER_RX_ANY) }, + { MP_ROM_QSTR(MP_QSTR_IRQ_RX), MP_ROM_INT(UART_TRIGGER_RX_ANY) }, }; static MP_DEFINE_CONST_DICT(pyb_uart_locals_dict, pyb_uart_locals_dict_table);