mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
dmonitoring_init: use &s->output[0] instead of &s->output (#19918)
This commit is contained in:
@@ -24,7 +24,7 @@ void dmonitoring_init(DMonitoringModelState* s) {
|
||||
#endif
|
||||
|
||||
int runtime = USE_DSP_RUNTIME;
|
||||
s->m = new DefaultRunModel(model_path, (float*)&s->output, OUTPUT_SIZE, runtime);
|
||||
s->m = new DefaultRunModel(model_path, &s->output[0], OUTPUT_SIZE, runtime);
|
||||
s->is_rhd = Params().read_db_bool("IsRHD");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user