Fix left overs after models refactor (#3)
Co-authored-by: Felipe Diniello <felipediniello@pm.me> Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
@@ -34,7 +34,7 @@ pub async fn solve_for(device_id: MAC) -> Result<Point, ()> {
|
||||
.filter_map(|m| {
|
||||
if let Some(a) = antennas.get(&m.beacon_id) {
|
||||
let kd = KnownDistance {
|
||||
point: a.coord,
|
||||
point: a.coord(),
|
||||
dist: a.get_distance_with_W(m.rssi),
|
||||
};
|
||||
Some(kd)
|
||||
|
||||
Reference in New Issue
Block a user