PIC-IRIS / PH5

Library of PH5 clients, apis, and utilities
Other
15 stars 9 forks source link

fix bug that time_t does not reflect time/drift when same texan is used in multiple deployment #408

Closed damhuonglan closed 4 years ago

damhuonglan commented 4 years ago

What does this PR do?

Fix #401 that time_t only has one entry for each das.

Reason

Process_soh() looped through all soh for a das to get (to, from) and return the last (to, from) in the loop to be process to create one entry in time_t.

Solution

Append all (to, from)s to a list to return. In main, each pair in the list will then be processed to create one entry in time_t.

Checklist