Commit f2339b95 authored by Claes Sjofors's avatar Claes Sjofors

Xtt bugfix, Hold and Scantime didn't work in Dv object graph

parent 9f9b8ac9
...@@ -689,7 +689,11 @@ static int graph_object_dx( Graph *graph, pwr_sAttrRef *arp) ...@@ -689,7 +689,11 @@ static int graph_object_dx( Graph *graph, pwr_sAttrRef *arp)
// Get channel object // Get channel object
sts = gdh_ArefANameToAref( arp, "SigChanCon", &aref); sts = gdh_ArefANameToAref( arp, "SigChanCon", &aref);
if ( EVEN(sts)) return sts; if ( EVEN(sts)) {
// Dv object, register scan function and return with success
graph->graph_object_scan = graph_object_dx_scan;
return 1;
}
sts = gdh_GetObjectInfoAttrref( &aref, &chanaref, sizeof(chanaref)); sts = gdh_GetObjectInfoAttrref( &aref, &chanaref, sizeof(chanaref));
if ( EVEN(sts)) return sts; if ( EVEN(sts)) return sts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment