Skip to content
Permalink
Browse files

usb: cdc_acm: fix typo in CDC_ACM_DEFAULT_BAUDRATE

From CDC_ACM_DEFAUL_BAUDRATE to CDC_ACM_DEFAULT_BAUDRATE.

Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  • Loading branch information...
masz-nordic authored and nashif committed Apr 23, 2019
1 parent 7b8f8ba commit 2eb99ea38c46c7e6d08e00574a73989a3173926f
Showing with 2 additions and 2 deletions.
  1. +2 −2 subsys/usb/class/cdc_acm.c
@@ -62,7 +62,7 @@ LOG_MODULE_REGISTER(usb_cdc_acm);
((struct cdc_acm_dev_data_t * const)(dev)->driver_data)

/* 115200bps, no parity, 1 stop bit, 8bit char */
#define CDC_ACM_DEFAUL_BAUDRATE {sys_cpu_to_le32(115200), 0, 0, 8}
#define CDC_ACM_DEFAULT_BAUDRATE {sys_cpu_to_le32(115200), 0, 0, 8}

/* Size of the internal buffer used for storing received data */
#define CDC_ACM_BUFFER_SIZE (CONFIG_CDC_ACM_BULK_EP_MPS)
@@ -1047,7 +1047,7 @@ static const struct uart_driver_api cdc_acm_driver_api = {
CONFIG_USB_CDC_ACM_RINGBUF_SIZE); \
static struct cdc_acm_dev_data_t cdc_acm_dev_data_##x = { \
.usb_status = USB_DC_UNKNOWN, \
.line_coding = CDC_ACM_DEFAUL_BAUDRATE, \
.line_coding = CDC_ACM_DEFAULT_BAUDRATE, \
.rx_ringbuf = &rx_ringbuf_##x, \
.tx_ringbuf = &tx_ringbuf_##x, \
};

0 comments on commit 2eb99ea

Please sign in to comment.
You can’t perform that action at this time.