fix
This commit is contained in:
parent
fbb0c27ce6
commit
61f58a5963
@ -70,6 +70,10 @@ namespace esphome
|
||||
roomsTopic = std::string(CHANNEL) + std::string("/rooms/") + _id;
|
||||
}
|
||||
|
||||
void ESP32Presense::set_max_distance(float maxDistance) {
|
||||
BleFingerprintCollection::maxDistance = maxDistance;
|
||||
}
|
||||
|
||||
void ESP32Presense::setup()
|
||||
{
|
||||
BleFingerprintCollection::Setup();
|
||||
|
@ -34,6 +34,7 @@ namespace esphome
|
||||
void set_room(std::string room);
|
||||
bool reportBuffer(BleFingerprint *f);
|
||||
bool reportDevice(BleFingerprint *f);
|
||||
void set_max_distance(float maxDistance);
|
||||
//void set_base_topic(std::string base_topic) { base_topic_ = base_topic; }
|
||||
};
|
||||
} // namespace esp32_nimble_tracker
|
||||
|
Loading…
Reference in New Issue
Block a user