Skip to content

Commit e00659d

Browse files
committed
feat: support metric upload
1 parent 4d96763 commit e00659d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ int WrapperAPI wrapperSetCtrl(CtrlType type, void *func) {
318318
printf("calculate function is null\n");
319319
}
320320
// 这里实际是往 python注册 wrapperMeterCustom 函数指针
321-
int ret = pyWrapper->wrapperSetCtrl(type, wrapperMeterCustom);
321+
int ret = pyWrapper->wrapperSetCtrl(type, (wrapperMeterCustom) func);
322322
return ret;
323323
}
324324
return 0;

0 commit comments

Comments
 (0)