Update BleFingerprint.cpp

This commit is contained in:
Darrell 2021-08-23 19:22:33 -04:00 committed by GitHub
parent a02634ae5a
commit cfd68fac7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ bool BleFingerprint::report(JsonDocument *doc, int maxDistance)
if (!hasValue)
return false;
// if (maxDistance > 0 && output.value.position > maxDistance)
// return false;
if (maxDistance > 0 && output.value.position > maxDistance)
return false;
if (reported)
return false;