From cd79a7b53d0c6eb1fc7e0eb09a275a3535397631 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 27 Aug 2015 10:30:42 -0500 Subject: [PATCH] dbCa: use dbf_type_to_DBR_TIME() macro --- src/ioc/db/dbCa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ioc/db/dbCa.c b/src/ioc/db/dbCa.c index caf0addbb..93104fc03 100644 --- a/src/ioc/db/dbCa.c +++ b/src/ioc/db/dbCa.c @@ -1038,7 +1038,7 @@ static void dbCaTask(void *arg) pca->pgetNative = dbCalloc(pca->nelements, element_size); epicsMutexUnlock(pca->lock); status = ca_add_array_event( - ca_field_type(pca->chid)+DBR_TIME_STRING, + dbf_type_to_DBR_TIME(ca_field_type(pca->chid)), ca_element_count(pca->chid), pca->chid, eventCallback, pca, 0.0, 0.0, 0.0, 0); if (status != ECA_NORMAL) {