Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
ce936edf
Commit
ce936edf
authored
Dec 09, 2015
by
Paul Sokolovsky
Browse files
unix/modtermios: Provide B57600 and B115200 constants only if defined.
parent
d4a874b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/modtermios.c
View file @
ce936edf
...
...
@@ -136,8 +136,12 @@ STATIC const mp_rom_map_elem_t mp_module_termios_globals_table[] = {
C
(
TCSANOW
),
C
(
B9600
),
#ifdef B57600
C
(
B57600
),
#endif
#ifdef B115200
C
(
B115200
),
#endif
#undef C
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment