mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-22 00:33:48 +08:00
renamed, added toggle for speed camera threshold control
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
@@ -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')))
|
||||
|
||||
Reference in New Issue
Block a user