mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Merge pull request #1111 from nasa/1110
Call follow_address_path for DR_Changes triggers
This commit is contained in:
commit
25d91e7852
@ -598,6 +598,10 @@ int Trick::DataRecordGroup::data_record(double in_time) {
|
||||
if ( freq != DR_Always ) {
|
||||
for (jj = 0; jj < change_buffer.size() ; jj++) {
|
||||
drb = change_buffer[jj] ;
|
||||
REF2 * ref = drb->ref ;
|
||||
if ( ref->pointer_present == 1 ) {
|
||||
ref->address = follow_address_path(ref) ;
|
||||
}
|
||||
if ( memcmp( drb->buffer , drb->ref->address , drb->ref->attr->size) ) {
|
||||
change_detected = true ;
|
||||
memcpy( drb->buffer , drb->ref->address , drb->ref->attr->size) ;
|
||||
|
Loading…
Reference in New Issue
Block a user