使用赋码仪主板 app升级,方案升级验证通过
This commit is contained in:
@@ -386,6 +386,9 @@ static int write_block(uart_def *u,const uint8_t *b,int len)
|
||||
param_check(u->private_data);
|
||||
self_data *self=u->private_data;
|
||||
USART_TypeDef *uart=self->dtb->uart;
|
||||
if(self->in_send){
|
||||
return 0;
|
||||
}
|
||||
self->in_send=1;
|
||||
if(1){
|
||||
dma_tx_init(self,b,len);
|
||||
|
Reference in New Issue
Block a user