From 9dec22dfaa01fe65904c65ece711e350624182a4 Mon Sep 17 00:00:00 2001 From: Marex Date: Mon, 25 Mar 2024 07:43:27 +0100 Subject: [PATCH] fix(demos): update README to match lv_demos.c (#5939) Signed-off-by: Marek Vasut Co-authored-by: Marek Vasut --- demos/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/README.md b/demos/README.md index 0b9e50de6..1cb7634f4 100644 --- a/demos/README.md +++ b/demos/README.md @@ -59,7 +59,7 @@ ## Configure Demos Entry -"demos/lv_demos.c" provides `lv_demos_create` and `lv_demos_usage` to simplify the creation of demos. +"demos/lv_demos.c" provides `lv_demos_create` and `lv_demos_show_help` to simplify the creation of demos. If you build your main program named `lv_demos`, then you can run the widgets demo by running `lv_demos widgets` and the benchmark demo by running `lv_demos benchmark 1`. @@ -93,7 +93,7 @@ int main(int argc, char ** argv) } if (!lv_demos_create(&argv[1], argc - 1)) { - lv_demos_usage(); + lv_demos_show_help(); goto demo_end; }