]> www.fi.muni.cz Git - openparking.git/commitdiff
Maximum distance is not an error
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 23 May 2015 15:28:06 +0000 (17:28 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 23 May 2015 15:50:27 +0000 (17:50 +0200)
Try to handle the too-distant object gracefully - treat them as if the
pulse ended at the ECHO_TIMEOUT time.

Now -1 means error (the echo pulse has not started), while too long
value is simply recorded as maximum value.


No differences found