mirror of
https://github.com/Noltari/pico-uart-bridge.git
synced 2024-12-29 10:46:05 +00:00
uart-bridge: use DEF_BIT_RATE for CDC LC
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
85383842d5
commit
911bf03c80
|
@ -30,7 +30,7 @@
|
||||||
#define DEF_DATA_BITS 8
|
#define DEF_DATA_BITS 8
|
||||||
|
|
||||||
static cdc_line_coding_t CDC_LC = {
|
static cdc_line_coding_t CDC_LC = {
|
||||||
.bit_rate = DEF_STOP_BITS,
|
.bit_rate = DEF_BIT_RATE,
|
||||||
.stop_bits = DEF_STOP_BITS,
|
.stop_bits = DEF_STOP_BITS,
|
||||||
.parity = DEF_PARITY,
|
.parity = DEF_PARITY,
|
||||||
.data_bits = DEF_DATA_BITS,
|
.data_bits = DEF_DATA_BITS,
|
||||||
|
|
Loading…
Reference in a new issue