add mutex in furi_create_deprecated (#242)
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
#include "flipper_v2.h"
|
||||
|
||||
bool init_flipper_api(void) {
|
||||
return gpio_api_init();
|
||||
bool no_errors = true;
|
||||
|
||||
if(!furi_init()) {
|
||||
no_errors = false;
|
||||
}
|
||||
|
||||
if(!gpio_api_init()) {
|
||||
no_errors = false;
|
||||
}
|
||||
|
||||
return no_errors;
|
||||
}
|
||||
Reference in New Issue
Block a user