mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-09 05:49:09 -07:00
Merge remote-tracking branch 'ofw/dev' into mntm-dev
This commit is contained in:
@@ -15,6 +15,8 @@ int32_t init_task(void* context) {
|
||||
// Init flipper
|
||||
flipper_init();
|
||||
|
||||
furi_background();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -26,7 +28,8 @@ int main(void) {
|
||||
furi_hal_init_early();
|
||||
|
||||
furi_hal_set_is_normal_boot(false);
|
||||
FuriThread* main_thread = furi_thread_alloc_ex("Init", 4096, init_task, NULL);
|
||||
FuriThread* main_thread = furi_thread_alloc_ex("InitSrv", 1024, init_task, NULL);
|
||||
furi_thread_set_priority(main_thread, FuriThreadPriorityInit);
|
||||
|
||||
#ifdef FURI_RAM_EXEC
|
||||
// Prevent entering sleep mode when executed from RAM
|
||||
|
||||
Reference in New Issue
Block a user