- disable usb vport
- uart drv for stm32f4
This commit is contained in:
@@ -22,7 +22,7 @@ int uart_open(const struct uart *this)
|
||||
if(NULL == this)
|
||||
return (-1);
|
||||
|
||||
int ret = this->fp->set_cb(this, uart_it_callback, this);
|
||||
int ret = this->fp->set_cb(this->arch_dep_device, uart_it_callback, this);
|
||||
ret |= this->fp->open(this->arch_dep_device);
|
||||
return (ret);
|
||||
}
|
||||
|
Reference in New Issue
Block a user