Skip to content
Snippets Groups Projects
Commit ce936edf authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/modtermios: Provide B57600 and B115200 constants only if defined.

parent d4a874b8
No related branches found
No related tags found
No related merge requests found
...@@ -136,8 +136,12 @@ STATIC const mp_rom_map_elem_t mp_module_termios_globals_table[] = { ...@@ -136,8 +136,12 @@ STATIC const mp_rom_map_elem_t mp_module_termios_globals_table[] = {
C(TCSANOW), C(TCSANOW),
C(B9600), C(B9600),
#ifdef B57600
C(B57600), C(B57600),
#endif
#ifdef B115200
C(B115200), C(B115200),
#endif
#undef C #undef C
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment