更新cpr统计,以及解码时间间隔,速度检测跳过配置
This commit is contained in:
@@ -98,12 +98,11 @@ Global::Global() {
|
||||
f->add_msg_limit(mode_s_msg);
|
||||
};
|
||||
#endif
|
||||
SSR::cpr_cb = [](SSR::CPR_Error_Type t, std::string_view log,
|
||||
SSR::P_S msg) {
|
||||
SSR::cpr_cb = [](SSR::CPR_Type t, SSR::CPR_Ret_Type err_type, std::string_view log, SSR::P_S msg) {
|
||||
auto src = std::dynamic_pointer_cast<Data_Source>(msg->source);
|
||||
Mode_S_Statistic_Data* ss = &src->mode_s_statistic;
|
||||
ss->add_cpr_error(t);
|
||||
SSR::mode_s_logger->debug("CPR/" + to_string(t), {}, log);
|
||||
ss->add_cpr_error(t, err_type);
|
||||
SSR::mode_s_logger->debug("CPR/" + to_string(t) + "/" + to_string(err_type), {}, log);
|
||||
};
|
||||
// 处理错误
|
||||
SSR::parse_call_back =
|
||||
|
||||
Reference in New Issue
Block a user