add mutex in furi_create_deprecated (#242)

This commit is contained in:
DrZlo13
2020-11-16 20:22:28 +03:00
committed by GitHub
parent 3d6af91dd1
commit 2ba3722de2
4 changed files with 30 additions and 3 deletions

View File

@@ -31,12 +31,12 @@ void furiac_wait_libs(const FlipperAppLibrary* libs) {
if(app_id == INVALID_TASK_ID) {
#ifdef FURI_DEBUG
printf("[FURIAC] Invalid library name %s\n", lib_name);
printf("[FURIAC] Invalid library name %s\n", libs->name[i]);
#endif
} else {
while(!task_buffer[app_id].ready) {
#ifdef FURI_DEBUG
printf("[FURIAC] waiting for library \"%s\"\n", lib_name);
printf("[FURIAC] waiting for library \"%s\"\n", libs->name[i]);
#endif
osDelay(50);
}