Commit f7e102d4 authored by Claes Sjofors's avatar Claes Sjofors

wb script SetAttribute(), set of deltatimes didn't work

parent 8bb0d3e8
...@@ -1556,6 +1556,16 @@ static int wccm_attribute_func ( ...@@ -1556,6 +1556,16 @@ static int wccm_attribute_func (
decl = CCM_DECL_STRING; decl = CCM_DECL_STRING;
break; break;
} }
case pwr_eType_DeltaTime:
{
/* Convert time to ascii */
sts = time_DtoAscii((pwr_tDeltaTime *)object_element,
1,
string_val, sizeof(string_val));
string_val[20] = 0;
decl = CCM_DECL_STRING;
break;
}
default: default:
; ;
} }
......
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