Log warning

This commit is contained in:
Ben Meadors 2025-05-21 17:15:36 -05:00
parent 459f69fc52
commit 2aa6f8b465

View File

@ -776,6 +776,8 @@ void MQTT::perhapsReportToMap()
// Coerce the map position precision to be within the valid range
// This removes obtusely large radius and privacy problematic ones from the map
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;
}