Skip to content

Commit

Permalink
FIX: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
r2axz committed Dec 1, 2020
1 parent 7f77195 commit fbe4492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usb_cdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ void usb_cdc_enable() {
usb_cdc_enabled = 1;
for (int port=0; port<USB_CDC_NUM_PORTS; port++) {
USART_TypeDef *usart = usb_cdc_get_port_usart(port);
usart->CR1 |= USART_CR1_PEIE | USART_CR1_IDLEIE | USART_CR1_RE | USART_CR1_PEIE;
usart->CR1 |= USART_CR1_PEIE | USART_CR1_IDLEIE | USART_CR1_RE | USART_CR1_PEIE;
usb_cdc_port_start_rx(port);
}
}
Expand Down

0 comments on commit fbe4492

Please sign in to comment.