Commit 90f5b769 authored by devsaurus's avatar devsaurus
Browse files

handle undefined CONFIG_CONSOLE_BIT_RATE_AUTO

parent 3694ffa9
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment