Skip to content

Commit

Permalink
fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiko Kuester committed Feb 18, 2024
1 parent 1bdad6e commit c174463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class/cdc/cdc_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ static bool cp210x_set_baudrate_request(cdch_interface_t * p_cdc, tuh_xfer_cb_t
TU_VERIFY(supported_baudrates_list[i]);
uint32_t const baud_le = tu_htole32(p_cdc->requested_line_coding.bit_rate);

return cp210x_set_request(p_cdc, CP210X_SET_BAUDRATE, 0, (uint8_t*) &baud_le, 4, complete_cb, user_data);
return cp210x_set_request(p_cdc, CP210X_SET_BAUDRATE, 0, (uint8_t const *) &baud_le, 4, complete_cb, user_data);
}

static bool cp210x_set_line_ctl(cdch_interface_t * p_cdc, tuh_xfer_cb_t const complete_cb, uintptr_t const user_data) {
Expand Down

0 comments on commit c174463

Please sign in to comment.