mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-24 13:03:53 +08:00
added missing params
This commit is contained in:
@@ -211,6 +211,10 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||
// dp
|
||||
{"dp_device_display_off_mode", PERSISTENT},
|
||||
{"dp_ui_rainbow", PERSISTENT},
|
||||
{"dp_ui_flight_panel", PERSISTENT},
|
||||
{"dp_long_de2e", PERSISTENT},
|
||||
{"dp_long_personality_btn", PERSISTENT},
|
||||
{"dp_nav_full_screen", PERSISTENT},
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -44,6 +44,10 @@ def manager_init() -> None:
|
||||
# dp
|
||||
("dp_device_display_off_mode", "0"),
|
||||
("dp_ui_rainbow", "0"),
|
||||
("dp_ui_flight_panel", "0"),
|
||||
("dp_long_de2e", "0"),
|
||||
("dp_long_personality_btn", "0"),
|
||||
("dp_nav_full_screen", "0"),
|
||||
]
|
||||
if not PC:
|
||||
default_params.append(("LastUpdateTime", datetime.datetime.utcnow().isoformat().encode('utf8')))
|
||||
|
||||
Reference in New Issue
Block a user