startup.h 420 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "furi.h"
  3. typedef struct {
  4. FlipperApplication app;
  5. const char* name;
  6. } FlipperStartupApp;
  7. #ifdef TEST
  8. void flipper_test_app(void* p);
  9. #endif
  10. void application_blink(void* p);
  11. const FlipperStartupApp FLIPPER_STARTUP[] = {
  12. #ifdef TEST
  13. {.app = flipper_test_app, .name = "test app"},
  14. #endif
  15. #ifdef EXAMPLE_BLINK
  16. {.app = application_blink, .name = "blink"},
  17. #endif
  18. };