dmonitoring_init: use &s->output[0] instead of &s->output (#19918)

old-commit-hash: 4bfed95071
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent c8935f44a1
commit 898c93dcbf
  1. 2
      selfdrive/modeld/models/dmonitoring.cc

@ -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");
}

Loading…
Cancel
Save