diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-09-23 11:58:25 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-23 17:29:05 -0700 |
commit | 594f13eeafe52eb070c10daad8322ce2074dd4e5 (patch) | |
tree | c52360952f71ecfb0fb41c59f00d69e05cfe8d79 /dives/TestDiveDivingLog5.08allmetric.xml | |
parent | 35b8a4f404de3297cb8d126654e0ec37245a7537 (diff) | |
download | subsurface-594f13eeafe52eb070c10daad8322ce2074dd4e5.tar.gz |
qt-ble: use the WAITFOR() macro rather than open-coding wait loops
This is not only much clearer (and smaller code), but it also lowers the
latency for the waiting, since we don't always wait for the full 100ms.
Get rid of the now unused "waitfor()" function that just unconditionally
waited for 100ms.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dives/TestDiveDivingLog5.08allmetric.xml')
0 files changed, 0 insertions, 0 deletions