mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-09 05:49:09 -07:00
22 lines
486 B
C
22 lines
486 B
C
#include <furi.h>
|
|
#include <flipper_application/flipper_application.h>
|
|
|
|
#define APP_BASE_ARGS "run_in_background"
|
|
|
|
typedef enum {
|
|
BGLoaderMessageType_AppReattached,
|
|
BGLoaderMessageType_LoaderBackground,
|
|
BGLoaderMessageType_LoaderExit,
|
|
} BGLoaderMessageType;
|
|
|
|
typedef struct {
|
|
BGLoaderMessageType type;
|
|
} BGLoaderMessage;
|
|
|
|
typedef struct {
|
|
FlipperApplication* fap;
|
|
FuriThread* thread;
|
|
FuriMessageQueue* to_app;
|
|
FuriMessageQueue* to_loader;
|
|
} BGLoaderApp;
|