自动检测指令0x44不读取流水号
解决新赋码指令回复指令不对的问题 解决tcp不上报心跳的问题
This commit is contained in:
@@ -169,6 +169,7 @@ void selfdev_check::slave_end_slot(int addr,int ack, myarray data)
|
||||
r.append(char(0));
|
||||
for(int i=0;i<slave_acked.size();i++){
|
||||
r.append(tran_slave_to_selfdev_check(slave_acked[i]));
|
||||
r.append(4,uint8_t(0));
|
||||
}
|
||||
emit send_data_signal(0x31,r);
|
||||
busy=0;
|
||||
@@ -178,7 +179,7 @@ void selfdev_check::slave_end_slot(int addr,int ack, myarray data)
|
||||
static HandlePc *get_selfdev_check(){
|
||||
return new selfdev_check();
|
||||
}
|
||||
//protpc_export(0x30, get_selfdev_check);
|
||||
// protpc_export(0x49, get_selfdev_check);
|
||||
|
||||
|
||||
|
||||
@@ -685,7 +686,7 @@ myarray bootinfo_fill_local(void)
|
||||
memcpy(d,&temp32,4);d+=4;
|
||||
myarray arry((char *)d_free,sizeof(local_bootinfo));
|
||||
free(d_free);
|
||||
qDebug()<<"local data="<<arry.toHex(' ');
|
||||
// qDebug()<<"local data="<<arry.toHex(' ');
|
||||
return arry;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user