Skip to content

Commit

Permalink
FIX: remove debug helper
Browse files Browse the repository at this point in the history
  • Loading branch information
r2axz committed Nov 18, 2020
1 parent 98ea97f commit 20ea9f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions usb_cdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ static usb_status_t usb_cdc_set_control_line_state(int port, uint16_t state) {

static usb_status_t usb_cdc_set_line_coding(int port, const usb_cdc_line_coding_t *line_coding, int dry_run) {
USART_TypeDef *usart = usb_cdc_get_port_usart(port);
if (line_coding->dwDTERate != 9600) {
__NOP();
}
if (line_coding->dwDTERate != 0) {
uint32_t new_brr = usb_cdc_get_port_fck(port) / line_coding->dwDTERate;
if (!dry_run) {
Expand Down

0 comments on commit 20ea9f6

Please # to comment.