summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2024-03-09 18:24:20 +0100
committerDamien George <damien@micropython.org>2024-08-29 16:27:43 +1000
commit1027b5f0835d8fba9ccc290f0333c86f7299620a (patch)
tree479501b6530d73982b9976d38d59ec9d09ec0c44
parent324c6753479b003d00a6c78a39cb078e73165f30 (diff)
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 <robert@hammelrath.com>
-rw-r--r--ports/cc3200/mods/pybuart.c1
1 files changed, 1 insertions, 0 deletions
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);