Skip to content

Commit

Permalink
DCR: Initalise s.TTLList wave with zero elements in case no TTL chann…
Browse files Browse the repository at this point in the history
…els are on

For the case the "TTL channels" entry does not exist in the LNB we already
do this. For consistency we should also do this when the LNB entry exists and
no TTL channels are enabled.
  • Loading branch information
MichaelHuth committed Aug 13, 2024
1 parent ff882ff commit e04734e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Packages/MIES/MIES_DataConfiguratonRecreation.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ static Function DCR_RecreateDataConfigurationResultFromLNB_TTL(STRUCT DataConfig
s.numTTLEntries = DimSize(s.TTLList, ROWS)
else
s.numTTLEntries = 0
Make/FREE/N=(0) s.TTLList
endif
else
s.numTTLEntries = 0
Expand Down

0 comments on commit e04734e

Please sign in to comment.