Fixes iPhone tracking not home #641, #640, #550, #460 (#643)

* Fixes iPhone tracking not home #641, #640, #550, #460
This commit is contained in:
Darrell 2022-09-01 18:12:58 -04:00 committed by GitHub
parent 11a61d2087
commit 98d807d4a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ bool BleFingerprint::shouldHide(const String &s) {
}
bool BleFingerprint::setId(const String &newId, short newIdType, const String &newName) {
if ((idType < 0 || newIdType < 0) ? newIdType >= idType : newIdType <= idType) return false;
//Serial.printf("setId: %s %d %s\n", newId.c_str(), newIdType, newName.c_str());
if (idType < 0 && newIdType < 0 && newIdType >= idType) return false;
if (idType > 0 && newIdType <= idType) return false;
// Serial.printf("setId: %s %d %s OLD idType: %d\n", newId.c_str(), newIdType, newName.c_str(), idType);
ignore = newIdType < 0;
idType = newIdType;