mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
Log warning
This commit is contained in:
parent
459f69fc52
commit
2aa6f8b465
@ -776,6 +776,8 @@ void MQTT::perhapsReportToMap()
|
|||||||
// Coerce the map position precision to be within the valid range
|
// Coerce the map position precision to be within the valid range
|
||||||
// This removes obtusely large radius and privacy problematic ones from the map
|
// This removes obtusely large radius and privacy problematic ones from the map
|
||||||
if (map_position_precision < 10 || map_position_precision > 16) {
|
if (map_position_precision < 10 || map_position_precision > 16) {
|
||||||
|
LOG_WARN("MQTT Map report position precision %u is out of range, using default %u", map_position_precision,
|
||||||
|
default_map_position_precision);
|
||||||
map_position_precision = default_map_position_precision;
|
map_position_precision = default_map_position_precision;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user