diff --git a/convert_components_to_json.py b/convert_components_to_json.py index ad60311..d07d145 100644 --- a/convert_components_to_json.py +++ b/convert_components_to_json.py @@ -162,6 +162,7 @@ def convert_components_to_json(): component_info["isGps"] = True component_info["gps"] = {} gps_data = component_data.get("gps", {}) + component_info["gps"]["period"] = gps_data.get("period", 30000) if "commands_ubxes" in gps_data: component_info["gps"]["commands_ubxes"] = gps_data["commands_ubxes"] if "commands_pmtks" in gps_data: