uart-bridge: remove unused variables
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
f2531be879
commit
8d9d952dde
1 changed files with 0 additions and 3 deletions
|
@ -154,7 +154,6 @@ void usb_write_bytes(uint8_t itf) {
|
||||||
void usb_cdc_process(uint8_t itf)
|
void usb_cdc_process(uint8_t itf)
|
||||||
{
|
{
|
||||||
uart_data_t *ud = &UART_DATA[itf];
|
uart_data_t *ud = &UART_DATA[itf];
|
||||||
int con = tud_cdc_n_connected(itf);
|
|
||||||
|
|
||||||
tud_cdc_n_get_line_coding(itf, &ud->usb_lc);
|
tud_cdc_n_get_line_coding(itf, &ud->usb_lc);
|
||||||
usb_read_bytes(itf);
|
usb_read_bytes(itf);
|
||||||
|
@ -253,8 +252,6 @@ void init_uart_data(uint8_t itf) {
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
uint8_t ch;
|
|
||||||
int rc;
|
|
||||||
int itf;
|
int itf;
|
||||||
|
|
||||||
for (itf = 0; itf < CFG_TUD_CDC; itf++)
|
for (itf = 0; itf < CFG_TUD_CDC; itf++)
|
||||||
|
|
Loading…
Reference in a new issue