Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
4c785fc9
Commit
4c785fc9
authored
Feb 03, 2015
by
cle69
Browse files
Update platform.c
Add Bit Rate 1200,2400,4800
parent
d48168b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/platform/platform.c
View file @
4c785fc9
...
@@ -185,6 +185,9 @@ uint32_t platform_uart_setup( unsigned id, uint32_t baud, int databits, int pari
...
@@ -185,6 +185,9 @@ uint32_t platform_uart_setup( unsigned id, uint32_t baud, int databits, int pari
{
{
switch
(
baud
)
switch
(
baud
)
{
{
case
BIT_RATE_1200
:
case
BIT_RATE_2400
:
case
BIT_RATE_4800
:
case
BIT_RATE_9600
:
case
BIT_RATE_9600
:
case
BIT_RATE_19200
:
case
BIT_RATE_19200
:
case
BIT_RATE_38400
:
case
BIT_RATE_38400
:
...
...
Write
Preview
Markdown
is supported
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