Add format specifier for secondary detection

This commit is contained in:
MrDave
2021-07-03 10:37:26 -06:00
committed by Mr-Dave
parent d435f75d1d
commit b20b04abb7
3 changed files with 19 additions and 1 deletions

View File

@@ -204,6 +204,10 @@ static void mlp_detected_trigger(struct ctx_cam *cam, struct ctx_image_data *img
cam->prev_event = cam->event_nr;
cam->eventtime = img->imgts.tv_sec;
if (cam->algsec_inuse) {
cam->algsec->isdetected = false;
}
mystrftime(cam, cam->text_event_string, sizeof(cam->text_event_string),
cam->conf->text_event.c_str(), &img->imgts, NULL, 0);