add apploader example

This commit is contained in:
aanper
2020-10-17 11:48:52 +03:00
parent 3c453a2a20
commit 566ba378ff
5 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#include "flipper.h"
/*
render_loader
handle_input
handle_menu
*/
void app_loader(void* p) {
osThreadId_t self_id = osThreadGetId();
assert(self_id);
printf("[app loader] start\n");
osThreadSuspend(self_id);
}