epics-modules / mrfioc2

EPICS driver for Micro Research Finland event timing system devices
http://epics-modules.github.io/mrfioc2/
Other
8 stars 30 forks source link

Make POSIX time conversion only after all checks #7

Closed aderbenev closed 8 years ago

aderbenev commented 8 years ago

Timestamp seconds value is converted before checks are finished. This can cause lastInvalidTimestamp to hold converted value and result in inconsistent comparison later on.

mdavidsaver commented 8 years ago

This fixes a regression introduced by 6937fffcaa8182b0838933d8fc3f2db823f8b04a (oops)