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
90f5b769
Commit
90f5b769
authored
Apr 06, 2017
by
devsaurus
Browse files
handle undefined CONFIG_CONSOLE_BIT_RATE_AUTO
parent
3694ffa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/base_nodemcu/user_main.c
View file @
90f5b769
...
...
@@ -157,7 +157,12 @@ void app_main (void)
cfg
.
data_bits
=
CONSOLE_NUM_BITS_8
;
cfg
.
parity
=
CONSOLE_PARITY_NONE
;
cfg
.
stop_bits
=
CONSOLE_STOP_BITS_1
;
cfg
.
auto_baud
=
CONFIG_CONSOLE_BIT_RATE_AUTO
;
cfg
.
auto_baud
=
#ifdef CONFIG_CONSOLE_BIT_RATE_AUTO
true
;
#else
false
;
#endif
console_init
(
&
cfg
,
input_task
);
...
...
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