Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 4d2778c

Browse files
committed
examples/embedding: Use core-provided KeyboardInterrupt object.
1 parent f86c57f commit 4d2778c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/embedding/mpconfigport_minimal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#define MICROPY_MEM_STATS (0)
3535
#define MICROPY_DEBUG_PRINTERS (0)
3636
#define MICROPY_READER_POSIX (1)
37+
#define MICROPY_KBD_EXCEPTION (1)
3738
#define MICROPY_HELPER_REPL (1)
3839
#define MICROPY_HELPER_LEXER_UNIX (1)
3940
#define MICROPY_ENABLE_SOURCE_LINE (0)
@@ -91,7 +92,6 @@ extern const struct _mp_obj_module_t mp_module_os;
9192
{ MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&mp_module_os }, \
9293

9394
#define MICROPY_PORT_ROOT_POINTERS \
94-
mp_obj_t keyboard_interrupt_obj;
9595

9696
//////////////////////////////////////////
9797
// Do not change anything beyond this line

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy