使用赋码仪主板 app升级,方案升级验证通过
This commit is contained in:
@@ -369,6 +369,8 @@ static int h_init(uart_def *u,int bsp)
|
||||
{
|
||||
h_self_def *h=&g_hself;
|
||||
if(h->inited) return 0;
|
||||
// 设置主机接口 int类型,0uart,1can
|
||||
app_variable("host_if",&h->dev_index,0);
|
||||
h->dev[0]=dev_get("uart1");
|
||||
h->dev[1]=dev_get("can");
|
||||
h->dev[0]->init(h->dev[0],0);
|
||||
|
Reference in New Issue
Block a user