check pump clock after pumphistory to alleviate #477 race condition (#509)
check pump clock after pumphistory to alleviate #477 race condition (#509)

* check pump clock after pumphistory to alleviate #477 race condition

* check pump clock right before time check to alleviate #477 race condition

* syntax

* Revert "check pump clock after pumphistory to alleviate #477 race condition"

This reverts commit 344b2eb2f913db70fe78ed9072a1f72d1c4ee3df.

openaps/oref0,PieterGit/oref0,openaps/oref0,PieterGit/oref0,PieterGit/oref0,openaps/oref0,PieterGit/oref0,openaps/oref0