parent
a7c5d6a2ee
commit
b2d4dc5ecb
@ -5,7 +5,7 @@
|
|||||||
#include "tt_init.h"
|
#include "tt_init.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern const tt::app::AppManifest hello_world_app;
|
// extern const tt::app::AppManifest hello_world_app;
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ void app_main() {
|
|||||||
*/
|
*/
|
||||||
.hardware = TT_BOARD_HARDWARE,
|
.hardware = TT_BOARD_HARDWARE,
|
||||||
.apps = {
|
.apps = {
|
||||||
&hello_world_app,
|
// &hello_world_app,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -43,16 +43,8 @@ public:
|
|||||||
auto manifests = getApps();
|
auto manifests = getApps();
|
||||||
std::sort(manifests.begin(), manifests.end(), SortAppManifestByName);
|
std::sort(manifests.begin(), manifests.end(), SortAppManifestByName);
|
||||||
|
|
||||||
lv_list_add_text(list, "User");
|
|
||||||
for (const auto& manifest: manifests) {
|
for (const auto& manifest: manifests) {
|
||||||
if (manifest->type == Type::User) {
|
if (manifest->type == Type::User || manifest->type == Type::System) {
|
||||||
createAppWidget(manifest, list);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
lv_list_add_text(list, "System");
|
|
||||||
for (const auto& manifest: manifests) {
|
|
||||||
if (manifest->type == Type::System) {
|
|
||||||
createAppWidget(manifest, list);
|
createAppWidget(manifest, list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user