led blink example
* led blink example * restore tests * Update FURI_and_examples.md
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "furi.h"
|
||||
#include "tests/test_index.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[] = {
|
||||
{.app = flipper_test_app, .name = "test app"}
|
||||
#ifdef TEST
|
||||
{.app = flipper_test_app, .name = "test app"},
|
||||
#endif
|
||||
|
||||
#ifdef EXAMPLE_BLINK
|
||||
{.app = application_blink, .name = "blink"},
|
||||
#endif
|
||||
};
|
Reference in New Issue
Block a user