[app] tweak app start to only run apps with entry points defined

Also remove a few empty extraneous app structs that are not doing
anything currently.
This commit is contained in:
Travis Geiselbrecht
2022-04-29 20:38:15 -07:00
parent 914c9c2a2f
commit 9a39da5651
3 changed files with 5 additions and 13 deletions

View File

@@ -23,12 +23,3 @@ STATIC_COMMAND("fibo", "threaded fibonacci", &fibo)
STATIC_COMMAND("spinner", "create a spinning thread", &spinner)
STATIC_COMMAND("cbuf_tests", "test lib/cbuf", &cbuf_tests)
STATIC_COMMAND_END(tests);
static void tests_init(const struct app_descriptor *app) {
}
APP_START(tests)
.init = tests_init,
.flags = 0,
APP_END