renamed, added toggle for speed camera threshold control

This commit is contained in:
Rick Lan
2024-07-13 01:05:13 +08:00
parent 4b7a2dbab9
commit ad4c920a72
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -240,7 +240,8 @@ std::unordered_map<std::string, uint32_t> keys = {
{"dp_tetoo", PERSISTENT},
{"dp_tetoo_data", PERSISTENT},
{"dp_tetoo_gps", PERSISTENT},
{"dp_tetoo_taiwan_speed_camera", PERSISTENT},
{"dp_tetoo_speed_camera_taiwan", PERSISTENT},
{"dp_tetoo_speed_camera_threshold", PERSISTENT},
};
} // namespace
+2 -1
View File
@@ -78,7 +78,8 @@ def manager_init() -> None:
("dp_tetoo", "0"),
("dp_tetoo_data", ""),
("dp_tetoo_gps", ""),
("dp_tetoo_taiwan_speed_camera", "0"),
("dp_tetoo_speed_camera_taiwan", "0"),
("dp_tetoo_speed_camera_threshold", "0"),
]
if not PC:
default_params.append(("LastUpdateTime", datetime.datetime.now(datetime.UTC).replace(tzinfo=None).isoformat().encode('utf8')))