mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-28 02:45:45 +03:00
bee159f435
* led blink example * restore tests * Update FURI_and_examples.md
24 lines
420 B
C
24 lines
420 B
C
#pragma once
|
|
|
|
#include "furi.h"
|
|
|
|
typedef struct {
|
|
FlipperApplication app;
|
|
const char* name;
|
|
} FlipperStartupApp;
|
|
|
|
#ifdef TEST
|
|
void flipper_test_app(void* p);
|
|
#endif
|
|
|
|
void application_blink(void* p);
|
|
|
|
const FlipperStartupApp FLIPPER_STARTUP[] = {
|
|
#ifdef TEST
|
|
{.app = flipper_test_app, .name = "test app"},
|
|
#endif
|
|
|
|
#ifdef EXAMPLE_BLINK
|
|
{.app = application_blink, .name = "blink"},
|
|
#endif
|
|
}; |