From 8a0a167adbf3d9b6f8b6f16aaf20ca39ad5549de Mon Sep 17 00:00:00 2001 From: jacqueline Date: Sun, 12 Nov 2023 19:14:09 +1100 Subject: Convert the main menu screen to lua lol --- src/app_console/app_console.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/app_console') diff --git a/src/app_console/app_console.cpp b/src/app_console/app_console.cpp index 28fac182..4a57853c 100644 --- a/src/app_console/app_console.cpp +++ b/src/app_console/app_console.cpp @@ -245,7 +245,7 @@ int CmdDbIndex(int argc, char** argv) { } std::shared_ptr> res( - db->GetTracksByIndex(*index, 20).get()); + db->GetTracksByIndex(index->id, 20).get()); int choice_index = 2; if (res->values().empty()) { @@ -708,7 +708,8 @@ void RegisterHapticEffect() { esp_console_cmd_t cmd{ .command = "haptic_effect", .help = - "Plays one, a range of, or all effects from a DRV2624 effect library; run 'haptic_effect help' for more.", + "Plays one, a range of, or all effects from a DRV2624 effect " + "library; run 'haptic_effect help' for more.", .hint = NULL, .func = &CmdHaptics, .argtable = NULL}; -- cgit v1.2.3