diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-11-12 19:14:09 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-11-12 19:14:09 +1100 |
| commit | 8a0a167adbf3d9b6f8b6f16aaf20ca39ad5549de (patch) | |
| tree | 02b6cf23f591915747ec2994381854a79979c4a0 /src/app_console | |
| parent | 8471046a95ab9e00f7d42b56dbbc9ce3e5b424b9 (diff) | |
| download | tangara-fw-8a0a167adbf3d9b6f8b6f16aaf20ca39ad5549de.tar.gz | |
Convert the main menu screen to lua lol
Diffstat (limited to 'src/app_console')
| -rw-r--r-- | src/app_console/app_console.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<database::Result<database::IndexRecord>> 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}; |
