dbCa: use dbf_type_to_DBR_TIME() macro

This commit is contained in:
Andrew Johnson
2015-08-27 10:30:42 -05:00
parent 696e00eec9
commit cd79a7b53d
+1 -1
View File
@@ -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) {