fix process restart and debug_list_ is empty bug.
This commit is contained in:
parent
0d86fd5691
commit
2cd35c8172
@ -671,6 +671,9 @@ init_config:
|
||||
std::cout << value.asInt() << std::endl; // 转换并输出每个整数
|
||||
zlog_debug(zbt, "[%d] debug sensor:%x", value.asInt());
|
||||
debug_slice_sensor_id_[i] = value.asInt();
|
||||
if (debug_slice_sensor_id_[i] != 0) {
|
||||
debug_list_.insert(debug_slice_sensor_id_[i]);
|
||||
}
|
||||
++i;
|
||||
}
|
||||
if (i == 1) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user