main.c 280 B

12345678910111213141516171819
  1. #include "heap.h"
  2. #include "errno.h"
  3. /*
  4. Flipper devices inc.
  5. Local fw build entry point.
  6. */
  7. int app();
  8. int main() {
  9. // this function is not thread-safe, so it must be called in single thread context
  10. if(!prvHeapInit()){
  11. return ENOMEM;
  12. }
  13. return app();
  14. }