led blink example

* led blink example

* restore tests

* Update FURI_and_examples.md
This commit is contained in:
coreglitch
2020-08-26 07:56:33 +06:00
committed by GitHub
parent 2e023ffcda
commit bee159f435
14 changed files with 211 additions and 101 deletions

View File

@@ -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
};